Replace some FIR syntax errors with more proper diagnostics
This commit is contained in:
+3
-3
@@ -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()<!>
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
-3
@@ -1,3 +0,0 @@
|
||||
interface A {
|
||||
constructor()
|
||||
}
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
interface A {
|
||||
<!CONSTRUCTOR_IN_INTERFACE!>constructor()<!>
|
||||
}
|
||||
Reference in New Issue
Block a user