Diagnostics improvements for corner cases
(class/package qualifier in non-qualifier position).
This commit is contained in:
@@ -16,8 +16,8 @@ class E private constructor() {
|
||||
}
|
||||
}
|
||||
|
||||
val a = <!INVISIBLE_MEMBER, FUNCTION_CALL_EXPECTED!>A<!>
|
||||
val a = <!NO_COMPANION_OBJECT!>A<!>
|
||||
<!EXPOSED_PROPERTY_TYPE!>val b = <!INVISIBLE_MEMBER!>B<!><!>
|
||||
val c = <!NO_VALUE_FOR_PARAMETER, FUNCTION_CALL_EXPECTED!>C<!>
|
||||
val c = <!NO_COMPANION_OBJECT!>C<!>
|
||||
val d = D
|
||||
val e = E(42)
|
||||
@@ -1,8 +1,8 @@
|
||||
package
|
||||
|
||||
public val a: A
|
||||
public val a: [ERROR : Type for A]
|
||||
public val b: B.Companion
|
||||
public val c: C
|
||||
public val c: [ERROR : Type for C]
|
||||
public val d: D.Companion
|
||||
public val e: kotlin.Int
|
||||
|
||||
|
||||
Reference in New Issue
Block a user