Fix incorrect 'original' in property accessors
#KT-3930 Fixed
This commit is contained in:
+3
@@ -0,0 +1,3 @@
|
||||
abstract class Test<F> {
|
||||
protected final F value = null;
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
class A : Test<String>() {
|
||||
fun foo(): String? = value
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
return if (A().foo() == null) "OK" else "Fail"
|
||||
}
|
||||
Reference in New Issue
Block a user