FIR: implement diagnostics for qualifier as stand-alone expression case
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ class Factory {
|
||||
}
|
||||
|
||||
companion object {
|
||||
val f = Function
|
||||
val f = <!NO_COMPANION_OBJECT!>Function<!>
|
||||
val x = Function.Default
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ class Outer {
|
||||
inner class Inner
|
||||
}
|
||||
|
||||
val x = Outer.Inner
|
||||
val x = Outer.<!NO_COMPANION_OBJECT!>Inner<!>
|
||||
val klass = Outer.Inner::class
|
||||
|
||||
+2
-1
@@ -23,7 +23,8 @@ object D {
|
||||
val D.E get() = ""
|
||||
|
||||
val def = D.E.F // object
|
||||
val de = D.E // extension
|
||||
// See KT-46409
|
||||
val de = D.<!NO_COMPANION_OBJECT!>E<!> // Should be: extension & no error, in fact: qualifier
|
||||
|
||||
enum class G {
|
||||
H;
|
||||
|
||||
Reference in New Issue
Block a user