feat(Escaped Identifiers): add ability to use any symbol wrapped in back ticks.
This commit is contained in:
@@ -1,8 +1,5 @@
|
||||
// IGNORE_BACKEND: WASM
|
||||
// WASM_MUTE_REASON: IGNORED_IN_JS
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// IGNORE_BACKEND: JS
|
||||
// !LANGUAGE: +JsAllowInvalidCharsIdentifiersEscaping
|
||||
|
||||
// Exclamation marks are not valid in names in the dex file format.
|
||||
// Therefore, do not attempt to dex this file as it will fail.
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
// IGNORE_BACKEND: WASM
|
||||
// WASM_MUTE_REASON: IGNORED_IN_JS
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// IGNORE_BACKEND: JS
|
||||
// !LANGUAGE: +JsAllowInvalidCharsIdentifiersEscaping
|
||||
|
||||
// Names with spaces are not valid according to the dex specification
|
||||
// before DEX version 040. Therefore, do not attempt to dex the resulting
|
||||
|
||||
+2
-4
@@ -1,8 +1,6 @@
|
||||
// IGNORE_BACKEND: WASM
|
||||
// WASM_MUTE_REASON: IGNORED_IN_JS
|
||||
// !SANITIZE_PARENTHESES
|
||||
// IGNORE_BACKEND: JS, JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// IGNORE_BACKEND: JS
|
||||
// !LANGUAGE: +JsAllowInvalidCharsIdentifiersEscaping
|
||||
|
||||
// Sanitization is needed here because DxChecker reports ParseException on parentheses in names.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user