Escape 'default' in enum entry names
Would not parse when default is a keyword
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user