Got rid of the LAZY flag
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
@@ -28,12 +28,6 @@ import org.jetbrains.kotlin.storage.StorageManager;
|
||||
* Various junk that cannot be placed into context (yet).
|
||||
*/
|
||||
public class TopDownAnalysisParameters extends LazinessToken implements GlobalContext {
|
||||
@Deprecated
|
||||
public static final boolean LAZY;
|
||||
|
||||
static {
|
||||
LAZY = !"false".equals(System.getProperty("lazy.tda"));
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public static TopDownAnalysisParameters create(
|
||||
@@ -44,7 +38,7 @@ public class TopDownAnalysisParameters extends LazinessToken implements GlobalCo
|
||||
boolean declaredLocally
|
||||
) {
|
||||
return new TopDownAnalysisParameters(storageManager, exceptionTracker, analyzeCompletely, analyzingBootstrapLibrary,
|
||||
declaredLocally, LAZY);
|
||||
declaredLocally, true);
|
||||
}
|
||||
|
||||
@NotNull
|
||||
|
||||
Reference in New Issue
Block a user