JS: don't treat library without JS metadata as error, report warning and continue instead. See KT-16158
This commit is contained in:
+8
-2
@@ -1,2 +1,8 @@
|
||||
error: 'compiler/testData/integration/ant/js/simpleWithStdlibAndFolderAsAnotherLib' is not a valid Kotlin Javascript library
|
||||
COMPILATION_ERROR
|
||||
warning: 'compiler/testData/integration/ant/js/simpleWithStdlibAndFolderAsAnotherLib' is not a valid Kotlin Javascript library
|
||||
compiler/testData/cli/js/withLib.kt:2:8: error: unresolved reference: library
|
||||
import library.sample.*
|
||||
^
|
||||
compiler/testData/cli/js/withLib.kt:6:13: error: unresolved reference: pairAdd
|
||||
val x = pairAdd(p)
|
||||
^
|
||||
COMPILATION_ERROR
|
||||
Reference in New Issue
Block a user