Minor, add test for obsolete issue
#KT-3587 Obsolete
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
open class Variable {
|
||||
val lightVar: LightVariable = if (this is LightVariable) this else LightVariable()
|
||||
}
|
||||
|
||||
class LightVariable() : Variable()
|
||||
|
||||
fun box(): String {
|
||||
Variable()
|
||||
return "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user