Do not add special names to scopes #KT-14319 Fixed

This commit is contained in:
Mikhail Glukhikh
2016-10-13 12:35:00 +03:00
parent 7263109413
commit 7a41d13b41
6 changed files with 35 additions and 2 deletions
@@ -57,6 +57,8 @@ abstract class LexicalScopeStorage(
val name = descriptor.name
val descriptorIndex = addDescriptor(descriptor)
if (name.isSpecial) return
if (variablesAndClassifiersByName == null) {
variablesAndClassifiersByName = HashMap()
}