FIR: introduce & use REFERENCE_BY_QUALIFIER positioning strategy
This commit is contained in:
Vendored
+1
-1
@@ -5,7 +5,7 @@ class D : C {
|
||||
{
|
||||
val s = ""
|
||||
<!UNRESOLVED_REFERENCE!>s<!>()
|
||||
<!UNRESOLVED_REFERENCE!>""()<!>
|
||||
<!UNRESOLVED_REFERENCE!>""<!>()
|
||||
42
|
||||
}())
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -2,6 +2,6 @@
|
||||
open class A(p1: String)
|
||||
|
||||
class B() : A("") {
|
||||
<!INAPPLICABLE_CANDIDATE, PRIMARY_CONSTRUCTOR_DELEGATION_CALL_EXPECTED!>constructor(s: String)<!> {
|
||||
<!PRIMARY_CONSTRUCTOR_DELEGATION_CALL_EXPECTED!>constructor(s: String)<!><!INAPPLICABLE_CANDIDATE!><!> {
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,6 +2,6 @@ class A {
|
||||
open inner class Inner
|
||||
|
||||
class Nested : Inner {
|
||||
<!UNRESOLVED_REFERENCE!>constructor()<!>
|
||||
constructor()<!UNRESOLVED_REFERENCE!><!>
|
||||
}
|
||||
}
|
||||
|
||||
compiler/testData/diagnostics/tests/secondaryConstructors/reportResolutionErrorOnImplicitOnce.fir.kt
Vendored
+1
-1
@@ -2,5 +2,5 @@
|
||||
open class A(p1: String, p2: String, p3: String, p4: String, p5: String)
|
||||
|
||||
class B : A {
|
||||
<!INAPPLICABLE_CANDIDATE!>constructor(s: String)<!>
|
||||
constructor(s: String)<!INAPPLICABLE_CANDIDATE!><!>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user