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
function
keyword
default
`default`
packages
}
@@ -128,7 +128,7 @@ private class JetDeclarationRemotenessWeigher(private val file: JetFile) : Looku
thisFile
preciseImport
allUnderImport
default
`default`
hasImportFromSamePackage
notImported
notToBeUsedInKotlin