00821bbc63
They are a bit redundant, but it needs additional work to be done to avoid them
26 lines
1.6 KiB
Plaintext
Vendored
26 lines
1.6 KiB
Plaintext
Vendored
warning: ATTENTION!
|
|
This build uses in-dev FIR:
|
|
-Xuse-fir
|
|
compiler/testData/cli/jvm/instanceAccessBeforeSuperCall.kt:2:26: error: unresolved reference: getSomeInt
|
|
constructor(x: Int = getSomeInt(), other: A = this, header: String = keker) {}
|
|
^
|
|
compiler/testData/cli/jvm/instanceAccessBeforeSuperCall.kt:2:51: error: cannot access '<this>' before superclass constructor has been called
|
|
constructor(x: Int = getSomeInt(), other: A = this, header: String = keker) {}
|
|
^
|
|
compiler/testData/cli/jvm/instanceAccessBeforeSuperCall.kt:2:74: error: unresolved reference: keker
|
|
constructor(x: Int = getSomeInt(), other: A = this, header: String = keker) {}
|
|
^
|
|
compiler/testData/cli/jvm/instanceAccessBeforeSuperCall.kt:7:20: error: 'this' is not defined in this context
|
|
class B(other: B = this)
|
|
^
|
|
compiler/testData/cli/jvm/instanceAccessBeforeSuperCall.kt:10:32: error: argument type mismatch: actual type is kotlin/Int but kotlin/Function0<TypeVariable(_L)> was expected
|
|
constructor(x: Int) : this({
|
|
^
|
|
compiler/testData/cli/jvm/instanceAccessBeforeSuperCall.kt:12:9: error: argument type mismatch: actual type is ERROR CLASS: Cannot access ''<this>'' before superclass constructor has been called but TypeVariable(_L) was expected
|
|
this
|
|
^
|
|
compiler/testData/cli/jvm/instanceAccessBeforeSuperCall.kt:12:9: error: cannot access '<this>' before superclass constructor has been called
|
|
this
|
|
^
|
|
COMPILATION_ERROR
|