Diagnostics improvements for corner cases

(class/package qualifier in non-qualifier position).
This commit is contained in:
Dmitry Petrov
2015-11-17 15:51:57 +03:00
parent ba8372cc11
commit 7b432c878a
18 changed files with 52 additions and 48 deletions
@@ -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