Determine enclosing element correctly inside base constructor
So #KT-17680 Fixed So #KT-18740 Fixed So EA-76201 Fixed
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
package test
|
||||
|
||||
open class B(val foo: () -> Unit)
|
||||
|
||||
class C : B({
|
||||
|
||||
})
|
||||
|
||||
//package test
|
||||
//public open class B defined in test
|
||||
//public constructor B(foo: () -> kotlin.Unit) defined in test.B
|
||||
//value-parameter foo: () -> kotlin.Unit defined in test.B.<init>
|
||||
//public final class C : test.B defined in test
|
||||
//public constructor C() defined in test.C
|
||||
Reference in New Issue
Block a user