Test for JET-17 Do not infer property types by the initializer before the containing scope is ready
Granular highlighting for redeclaration errors
This commit is contained in:
@@ -33,8 +33,8 @@ class Foo() : <error>WithPC0</error>, <error>this</error>() {
|
||||
|
||||
}
|
||||
|
||||
class WithCPI_Dup(<error>x : Int</error>) {
|
||||
<error>var x : Int</error>
|
||||
class WithCPI_Dup(<error>x</error> : Int) {
|
||||
var <error>x</error> : Int
|
||||
}
|
||||
|
||||
class WithCPI(x : Int) {
|
||||
|
||||
Reference in New Issue
Block a user