Escape 'default' in enum entry names

Would not parse when default is a keyword
This commit is contained in:
Pavel V. Talanov
2015-03-05 19:34:33 +03:00
parent 913724f0e9
commit 84560ec550
@@ -72,7 +72,7 @@ private object KindWeigher : LookupElementWeigher("kotlin.kind") {
variable // variable or property variable // variable or property
function function
keyword keyword
default `default`
packages packages
} }
@@ -128,7 +128,7 @@ private class JetDeclarationRemotenessWeigher(private val file: JetFile) : Looku
thisFile thisFile
preciseImport preciseImport
allUnderImport allUnderImport
default `default`
hasImportFromSamePackage hasImportFromSamePackage
notImported notImported
notToBeUsedInKotlin notToBeUsedInKotlin