Escape special variable names in interop.
This commit is contained in:
+3
-1
@@ -19,7 +19,9 @@ package org.jetbrains.kotlin.native.interop.gen
|
||||
val kotlinKeywords = setOf(
|
||||
"as", "break", "class", "continue", "do", "dynamic", "else", "false", "for", "fun", "if", "in",
|
||||
"interface", "is", "null", "object", "package", "return", "super", "this", "throw",
|
||||
"true", "try", "typealias", "val", "var", "when", "while"
|
||||
"true", "try", "typealias", "val", "var", "when", "while",
|
||||
// While not technically keywords, those shall be escaped as well.
|
||||
"_", "__", "___"
|
||||
)
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user