Files
kotlin-fork/compiler/testData/diagnostics/tests/controlFlowAnalysis/kt510.jet
T
Stepan Koltsov 07ff53d456 add trailing newlines to test files
otherwise I have to rollback dozens of files after using sed that follows conventions
2012-03-12 22:54:14 +04:00

19 lines
283 B
Plaintext

//KT-510 `this.` allows initialization without backing field
package kt510
public open class Identifier1() {
var field : Boolean
{
field = false; // error
}
}
public open class Identifier2() {
var field : Boolean
{
this.field = false;
}
}