[FIR] KT-53479: Paraphrase INSTANCE_ACCESS_BEFORE_SUPER_CALL

This commit is contained in:
Nikolay Lunyak
2022-09-07 13:56:49 +03:00
committed by Space
parent 367761008b
commit dccb7faf2e
5 changed files with 8 additions and 8 deletions
@@ -25,7 +25,7 @@ FILE: instanceAccessBeforeSuperCall.kt
}
public constructor(x: R|kotlin/Int|): R|C| {
this<R|C|>(fun <anonymous>(): <ERROR TYPE REF: Cannot access ''<this>'' before superclass constructor has been called> <inline=Unknown> {
this<R|C|>(fun <anonymous>(): <ERROR TYPE REF: Cannot access ''<this>'' before the instance has been initialized> <inline=Unknown> {
lval a: R|kotlin/Int| = Int(10)
^ this@R|/C|
}