tests: Update external tests (1.1.2-dev-393)
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
class Outer {
|
||||
class Nested{
|
||||
fun foo(s: String) = s.extension()
|
||||
}
|
||||
|
||||
companion object {
|
||||
private fun String.extension(): String = this
|
||||
}
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
return Outer.Nested().foo("OK")
|
||||
}
|
||||
Reference in New Issue
Block a user