Test for obsolete KT-9642
#KT-9642 Obsolete
This commit is contained in:
+17
@@ -0,0 +1,17 @@
|
||||
class Outer {
|
||||
class Nested {
|
||||
fun fn(): String {
|
||||
s = "OK"
|
||||
return s
|
||||
}
|
||||
}
|
||||
|
||||
companion object {
|
||||
public var s = "fail"
|
||||
private set
|
||||
}
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
return Outer.Nested().fn()
|
||||
}
|
||||
Reference in New Issue
Block a user