[JS IR] Move tests for JS code diagnostics
^KT-62425
This commit is contained in:
committed by
Space Team
parent
78aa34b3e8
commit
04809a6b3b
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
||||
|
||||
fun foo(x: Any) {
|
||||
js("delete x.foo;")
|
||||
js("delete x['bar'];")
|
||||
js("delete x.baz<!JSCODE_ERROR!>()<!>;")
|
||||
js("delete <!JSCODE_ERROR!>this<!>;")
|
||||
}
|
||||
Reference in New Issue
Block a user