JS: prohibit illegal chars on dynamic call site
See KT-19540
This commit is contained in:
@@ -17,4 +17,9 @@ private class <!NAME_CONTAINS_ILLEGAL_CHARS!>` .private class `<!> {
|
||||
|
||||
val x: Int
|
||||
<!NAME_CONTAINS_ILLEGAL_CHARS!>@JsName(".")
|
||||
get()<!> = TODO("")
|
||||
get()<!> = TODO("")
|
||||
|
||||
fun box(x: dynamic) {
|
||||
x.<!NAME_CONTAINS_ILLEGAL_CHARS!>`foo-bar`<!>()
|
||||
x.<!NAME_CONTAINS_ILLEGAL_CHARS!>`ba-z`<!>
|
||||
}
|
||||
Reference in New Issue
Block a user