Got rid of the LAZY flag

This commit is contained in:
Andrey Breslav
2015-01-23 19:37:02 +03:00
parent d466533ef2
commit d310b0c99d
2 changed files with 2 additions and 8 deletions
@@ -247,7 +247,7 @@ public class CliLightClassGenerationSupport extends LightClassGenerationSupport
public <K, V> V get(ReadOnlySlice<K, V> slice, K key) {
V value = super.get(slice, key);
if (value == null && TopDownAnalysisParameters.LAZY) {
if (value == null) {
if (BindingContext.FUNCTION == slice || BindingContext.VARIABLE == slice) {
if (key instanceof JetDeclaration) {
JetDeclaration jetDeclaration = (JetDeclaration) key;