Minor, add codegen test on extension to nested class

This commit is contained in:
Alexander Udalov
2014-09-03 20:07:39 +04:00
parent 2fbba060de
commit d86903ccd4
2 changed files with 14 additions and 0 deletions
@@ -0,0 +1,9 @@
class Test {
class Nested {
val value = "OK"
}
}
fun Test.Nested.foo() = value
fun box() = Test.Nested().foo()