Check "kotlin" package usage when compiling common code
#KT-25369 Fixed
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
$TESTDATA_DIR$/../kotlinPackage.kt
|
||||
-d
|
||||
$TEMP_DIR$
|
||||
@@ -0,0 +1,4 @@
|
||||
compiler/testData/cli/kotlinPackage.kt:1:1: error: only the Kotlin standard library is allowed to use the 'kotlin' package
|
||||
package kotlin.mylibrary
|
||||
^
|
||||
COMPILATION_ERROR
|
||||
Reference in New Issue
Block a user