mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 00:21:47 +00:00
Add some new tests on functions and extension functions
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
class K {
|
||||
fun reverse(s: String): String {
|
||||
return s.reverse()
|
||||
}
|
||||
|
||||
companion object {
|
||||
fun getRef() = K::reverse
|
||||
}
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
return J.go()
|
||||
}
|
||||
Reference in New Issue
Block a user