Recursion-tolerant notnull lazy values
This commit is contained in:
+7
@@ -49,6 +49,7 @@ import org.jetbrains.jet.lang.resolve.scopes.*;
|
||||
import org.jetbrains.jet.lang.types.JetType;
|
||||
import org.jetbrains.jet.lang.types.TypeConstructor;
|
||||
import org.jetbrains.jet.lang.types.TypeUtils;
|
||||
import org.jetbrains.jet.utils.WrappedValues;
|
||||
|
||||
import java.util.*;
|
||||
|
||||
@@ -395,6 +396,12 @@ public class LazyClassDescriptor extends ClassDescriptorBase implements LazyDesc
|
||||
}
|
||||
}
|
||||
},
|
||||
new Computable<Object>() {
|
||||
@Override
|
||||
public Object compute() {
|
||||
return WrappedValues.unescapeExceptionOrNull(Collections.emptyList());
|
||||
}
|
||||
},
|
||||
new Consumer<Collection<JetType>>() {
|
||||
@Override
|
||||
public void consume(@NotNull Collection<JetType> supertypes) {
|
||||
|
||||
Reference in New Issue
Block a user