Minor. Replaced TYPE_RESOLUTION_SCOPE to LEXICAL_SCOPE

This commit is contained in:
Stanislav Erokhin
2015-09-18 21:33:40 +03:00
parent 3d6d527d93
commit fd503d0367
6 changed files with 12 additions and 11 deletions
@@ -181,7 +181,7 @@ public class CliLightClassGenerationSupport(project: Project) : LightClassGenera
public class NoScopeRecordCliBindingTrace : CliBindingTrace() {
override fun <K, V> record(slice: WritableSlice<K, V>, key: K, value: V) {
if (slice === BindingContext.RESOLUTION_SCOPE || slice === BindingContext.TYPE_RESOLUTION_SCOPE || slice === BindingContext.LEXICAL_SCOPE) {
if (slice === BindingContext.RESOLUTION_SCOPE || slice === BindingContext.LEXICAL_SCOPE) {
// In the compiler there's no need to keep scopes
return
}