Fix for KT-4206: NoSuchFieldError with class objects

#KT-4206 Fixed
This commit is contained in:
Michael Bogdanov
2014-11-10 14:05:38 +03:00
parent 7d1fd47569
commit af998101b3
4 changed files with 35 additions and 24 deletions
@@ -0,0 +1,13 @@
class Foo {
class object {
val bar: String
{
bar = "OK"
}
}
}
fun box(): String {
return Foo.bar
}