[JS FIR] Enable warnings and infos for JS FIR tests
This commit is contained in:
committed by
Space Team
parent
862be5a787
commit
b1465fbfb8
+1
@@ -1,4 +1,5 @@
|
||||
// FIR_IDENTICAL
|
||||
// !DIAGNOSTICS: -ERROR_SUPPRESSION
|
||||
// FILE: A.kt
|
||||
@file:Suppress("OPT_IN_USAGE", "JS_NAME_CLASH")
|
||||
package foo
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// FIR_IDENTICAL
|
||||
// !DIAGNOSTICS: -ERROR_SUPPRESSION
|
||||
// FILE: A.kt
|
||||
@file:Suppress("OPT_IN_USAGE", "JS_NAME_CLASH")
|
||||
package foo
|
||||
|
||||
+17
-17
@@ -1,25 +1,25 @@
|
||||
/Function1.kt:7:1: warning: Exporting name 'test' in ES modules may clash with
|
||||
/Function1.kt:8:1: warning: Exporting name 'test' in ES modules may clash with
|
||||
exporting name 'test' from file '/Class1.kt'
|
||||
exporting name 'test' from file '/Property1.kt'
|
||||
|
||||
/Function1.kt:7:1: error: Exporting name 'test' clashes with
|
||||
/Function1.kt:8:1: error: Exporting name 'test' clashes with
|
||||
exporting name 'test' from file '/Class1.kt'
|
||||
package 'foo.bar.baz.test' from file '/Package1.kt'
|
||||
package 'foo.bar.baz.test' from file '/Package2.kt'
|
||||
exporting name 'test' from file '/Property1.kt'
|
||||
|
||||
/Function2.kt:13:1: error: Exporting name 'baz' clashes with
|
||||
/Function2.kt:14:1: error: Exporting name 'baz' clashes with
|
||||
package 'foo.bar.baz' from file '/Class1.kt'
|
||||
package 'foo.bar.baz' from file '/Function1.kt'
|
||||
package 'foo.bar.baz' from file '/Package1.kt'
|
||||
package 'foo.bar.baz' from file '/Package2.kt'
|
||||
package 'foo.bar.baz' from file '/Property1.kt'
|
||||
|
||||
/Function3.kt:18:1: warning: Exporting name 'foo' in ES modules may clash with
|
||||
/Function3.kt:19:1: warning: Exporting name 'foo' in ES modules may clash with
|
||||
exporting name 'foo' from file '/Class3.kt'
|
||||
exporting name 'foo' from file '/Property3.kt'
|
||||
|
||||
/Function3.kt:18:1: error: Exporting name 'foo' clashes with
|
||||
/Function3.kt:19:1: error: Exporting name 'foo' clashes with
|
||||
package 'foo' from file '/Class1.kt'
|
||||
package 'foo' from file '/Class2.kt'
|
||||
exporting name 'foo' from file '/Class3.kt'
|
||||
@@ -31,19 +31,19 @@
|
||||
package 'foo' from file '/Property2.kt'
|
||||
exporting name 'foo' from file '/Property3.kt'
|
||||
|
||||
/Property1.kt:24:1: warning: Exporting name 'test' in ES modules may clash with
|
||||
/Property1.kt:25:1: warning: Exporting name 'test' in ES modules may clash with
|
||||
exporting name 'test' from file '/Class1.kt'
|
||||
exporting name 'test' from file '/Function1.kt'
|
||||
|
||||
/Property1.kt:24:1: error: Exporting name 'test' clashes with
|
||||
/Property1.kt:25:1: error: Exporting name 'test' clashes with
|
||||
exporting name 'test' from file '/Class1.kt'
|
||||
exporting name 'test' from file '/Function1.kt'
|
||||
package 'foo.bar.baz.test' from file '/Package1.kt'
|
||||
package 'foo.bar.baz.test' from file '/Package2.kt'
|
||||
|
||||
/Property2.kt:30:1: warning: Exporting name 'bar' in ES modules may clash with exporting name 'bar' from file '/Class2.kt'
|
||||
/Property2.kt:31:1: warning: Exporting name 'bar' in ES modules may clash with exporting name 'bar' from file '/Class2.kt'
|
||||
|
||||
/Property2.kt:30:1: error: Exporting name 'bar' clashes with
|
||||
/Property2.kt:31:1: error: Exporting name 'bar' clashes with
|
||||
package 'foo.bar' from file '/Class1.kt'
|
||||
exporting name 'bar' from file '/Class2.kt'
|
||||
package 'foo.bar' from file '/Function1.kt'
|
||||
@@ -52,11 +52,11 @@
|
||||
package 'foo.bar' from file '/Package2.kt'
|
||||
package 'foo.bar' from file '/Property1.kt'
|
||||
|
||||
/Property3.kt:35:1: warning: Exporting name 'foo' in ES modules may clash with
|
||||
/Property3.kt:36:1: warning: Exporting name 'foo' in ES modules may clash with
|
||||
exporting name 'foo' from file '/Class3.kt'
|
||||
exporting name 'foo' from file '/Function3.kt'
|
||||
|
||||
/Property3.kt:35:1: error: Exporting name 'foo' clashes with
|
||||
/Property3.kt:36:1: error: Exporting name 'foo' clashes with
|
||||
package 'foo' from file '/Class1.kt'
|
||||
package 'foo' from file '/Class2.kt'
|
||||
exporting name 'foo' from file '/Class3.kt'
|
||||
@@ -68,19 +68,19 @@
|
||||
package 'foo' from file '/Property1.kt'
|
||||
package 'foo' from file '/Property2.kt'
|
||||
|
||||
/Class1.kt:41:1: warning: Exporting name 'test' in ES modules may clash with
|
||||
/Class1.kt:42:1: warning: Exporting name 'test' in ES modules may clash with
|
||||
exporting name 'test' from file '/Function1.kt'
|
||||
exporting name 'test' from file '/Property1.kt'
|
||||
|
||||
/Class1.kt:41:1: error: Exporting name 'test' clashes with
|
||||
/Class1.kt:42:1: error: Exporting name 'test' clashes with
|
||||
exporting name 'test' from file '/Function1.kt'
|
||||
package 'foo.bar.baz.test' from file '/Package1.kt'
|
||||
package 'foo.bar.baz.test' from file '/Package2.kt'
|
||||
exporting name 'test' from file '/Property1.kt'
|
||||
|
||||
/Class2.kt:47:1: warning: Exporting name 'bar' in ES modules may clash with exporting name 'bar' from file '/Property2.kt'
|
||||
/Class2.kt:48:1: warning: Exporting name 'bar' in ES modules may clash with exporting name 'bar' from file '/Property2.kt'
|
||||
|
||||
/Class2.kt:47:1: error: Exporting name 'bar' clashes with
|
||||
/Class2.kt:48:1: error: Exporting name 'bar' clashes with
|
||||
package 'foo.bar' from file '/Class1.kt'
|
||||
package 'foo.bar' from file '/Function1.kt'
|
||||
package 'foo.bar' from file '/Function2.kt'
|
||||
@@ -89,11 +89,11 @@
|
||||
package 'foo.bar' from file '/Property1.kt'
|
||||
exporting name 'bar' from file '/Property2.kt'
|
||||
|
||||
/Class3.kt:51:1: warning: Exporting name 'foo' in ES modules may clash with
|
||||
/Class3.kt:52:1: warning: Exporting name 'foo' in ES modules may clash with
|
||||
exporting name 'foo' from file '/Function3.kt'
|
||||
exporting name 'foo' from file '/Property3.kt'
|
||||
|
||||
/Class3.kt:51:1: error: Exporting name 'foo' clashes with
|
||||
/Class3.kt:52:1: error: Exporting name 'foo' clashes with
|
||||
package 'foo' from file '/Class1.kt'
|
||||
package 'foo' from file '/Class2.kt'
|
||||
package 'foo' from file '/Function1.kt'
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// FIR_IDENTICAL
|
||||
// !DIAGNOSTICS: -ERROR_SUPPRESSION
|
||||
// !RENDER_ALL_DIAGNOSTICS_FULL_TEXT
|
||||
// FILE: Function1.kt
|
||||
@file:Suppress("OPT_IN_USAGE", "JS_NAME_CLASH")
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// FIR_IDENTICAL
|
||||
// !DIAGNOSTICS: -ERROR_SUPPRESSION
|
||||
// FILE: A.kt
|
||||
@file:Suppress("OPT_IN_USAGE", "JS_NAME_CLASH")
|
||||
package foo.bar
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// FIR_IDENTICAL
|
||||
// !DIAGNOSTICS: -ERROR_SUPPRESSION
|
||||
// FILE: A.kt
|
||||
@file:Suppress("OPT_IN_USAGE", "JS_NAME_CLASH")
|
||||
package foo.bar
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// FIR_IDENTICAL
|
||||
// !DIAGNOSTICS: -ERROR_SUPPRESSION
|
||||
// FILE: A.kt
|
||||
@file:Suppress("OPT_IN_USAGE", "JS_NAME_CLASH")
|
||||
package foo
|
||||
|
||||
Reference in New Issue
Block a user