[JS] Mute the EXPORTING_JS_NAME_CLASH_ES diagnostic in TS export tests
This diagnostic started to appear after 51c920af01e3d583c552224a529abe1f6e5fcf16.
This commit is contained in:
committed by
Space Team
parent
eda30ff704
commit
61e957fc00
+6
@@ -6,6 +6,12 @@
|
||||
// SKIP_NODE_JS
|
||||
// INFER_MAIN_MODULE
|
||||
|
||||
// DIAGNOSTICS: -EXPORTING_JS_NAME_CLASH_ES
|
||||
// ^ This warning only concernes the ES6 mode, but since it's reported during KLIB serialization, the module system is unknown at that
|
||||
// point. Additionally, the same KLIB can be used for building JS in different module systems. Therefore, the warning is always written,
|
||||
// regardless of the project's module system.
|
||||
|
||||
|
||||
// MODULE: JS_TESTS
|
||||
// FILE: file1.kt
|
||||
|
||||
|
||||
@@ -4,6 +4,12 @@
|
||||
// SKIP_NODE_JS
|
||||
// INFER_MAIN_MODULE
|
||||
|
||||
// DIAGNOSTICS: -EXPORTING_JS_NAME_CLASH_ES
|
||||
// ^ This warning only concernes the ES6 mode, but since it's reported during KLIB serialization, the module system is unknown at that
|
||||
// point. Additionally, the same KLIB can be used for building JS in different module systems. Therefore, the warning is always written,
|
||||
// regardless of the project's module system.
|
||||
|
||||
|
||||
// MODULE: JS_TESTS
|
||||
// FILE: file1.kt
|
||||
|
||||
|
||||
Reference in New Issue
Block a user