Generate static backing fields for properties in object
#KT-4973 Fixed
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
class Foo {
|
||||
class object {
|
||||
val bar: String
|
||||
|
||||
{
|
||||
bar = "OK"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
return Foo.bar
|
||||
}
|
||||
Reference in New Issue
Block a user