Introduce Variable: Forbid inside of type references and 'super' references
#KT-8324 Fixed
This commit is contained in:
+6
@@ -0,0 +1,6 @@
|
||||
open class A(n: Int)
|
||||
|
||||
fun foo() {
|
||||
val i = 1
|
||||
val x = object : A(i) {}
|
||||
}
|
||||
Reference in New Issue
Block a user