[FIR] Implement CANNOT_BE_IMPORTED diagnostic
This commit is contained in:
+2
-2
@@ -11,7 +11,7 @@ class X
|
||||
// FILE: c.kt
|
||||
package c
|
||||
|
||||
import a.x
|
||||
import b.x
|
||||
import a.<!PACKAGE_CANNOT_BE_IMPORTED!>x<!>
|
||||
import b.<!PACKAGE_CANNOT_BE_IMPORTED!>x<!>
|
||||
|
||||
class Y : <!UNRESOLVED_REFERENCE!>x.X<!>
|
||||
@@ -57,4 +57,4 @@ import a.<!SYNTAX!>%<!>.b.c.<!SYNTAX!><!>
|
||||
import a.b.c.D.<!SYNTAX!><!>
|
||||
import a.b.c.D.E.<!SYNTAX!><!>
|
||||
|
||||
import a<!SYNTAX!>?.<!><!SYNTAX!>b<!>
|
||||
import <!PACKAGE_CANNOT_BE_IMPORTED!>a<!><!SYNTAX!>?.<!><!SYNTAX!>b<!>
|
||||
|
||||
@@ -48,17 +48,17 @@ class D {
|
||||
|
||||
|
||||
// FILE:c.kt
|
||||
import a
|
||||
import a.b
|
||||
import <!PACKAGE_CANNOT_BE_IMPORTED!>a<!>
|
||||
import a.<!PACKAGE_CANNOT_BE_IMPORTED!>b<!>
|
||||
|
||||
import a.foo
|
||||
import a.foo.bar
|
||||
import a.bar
|
||||
import a.bar.foo
|
||||
|
||||
import a.B.foo
|
||||
import a.B.<!CANNOT_BE_IMPORTED!>foo<!>
|
||||
import a.B.foo.bar
|
||||
import a.B.bar
|
||||
import a.B.<!CANNOT_BE_IMPORTED!>bar<!>
|
||||
import a.B.bar.foo
|
||||
|
||||
import a.C.foo
|
||||
|
||||
@@ -8,7 +8,7 @@ import reflect.Constructor
|
||||
import b.*
|
||||
import d
|
||||
import d.Test
|
||||
import b.d
|
||||
import b.<!PACKAGE_CANNOT_BE_IMPORTED!>d<!>
|
||||
|
||||
class Some: <!UNRESOLVED_REFERENCE!>Test<!>()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user