Replace some FIR syntax errors with more proper diagnostics

This commit is contained in:
Mikhail Glukhikh
2020-03-24 19:33:34 +03:00
parent 2f63c8a46a
commit b27152f903
53 changed files with 339 additions and 320 deletions
@@ -1,17 +1,17 @@
object A {
constructor()
<!CONSTRUCTOR_IN_OBJECT!>constructor()<!>
init {}
}
enum class B {
X() {
<!UNRESOLVED_REFERENCE!>constructor()<!>
<!CONSTRUCTOR_IN_OBJECT, UNRESOLVED_REFERENCE!>constructor()<!>
}
}
class C {
companion object {
constructor()
<!CONSTRUCTOR_IN_OBJECT!>constructor()<!>
}
}