Converted JetScope to Kotlin
This commit is contained in:
+1
-1
@@ -66,7 +66,7 @@ class PropagationHeuristics {
|
||||
arrayTypeFromSuper.getConstructor(),
|
||||
arrayTypeFromSuper.isNullable(),
|
||||
Arrays.asList(new TypeProjectionImpl(Variance.OUT_VARIANCE, elementTypeInSuper)),
|
||||
JetScope.EMPTY);
|
||||
JetScope.Empty.INSTANCE$);
|
||||
|
||||
data.reportError("Return type is not a subtype of overridden method. " +
|
||||
"To fix it, add annotation with Kotlin signature to super method with type "
|
||||
|
||||
+2
-2
@@ -96,12 +96,12 @@ public class IncrementalPackageFragmentProvider(
|
||||
|
||||
val _memberScope: NotNullLazyValue<JetScope> = storageManager.createLazyValue {
|
||||
if (fqName !in fqNamesToLoad) {
|
||||
JetScope.EMPTY
|
||||
JetScope.Empty
|
||||
}
|
||||
else {
|
||||
val packageDataBytes = incrementalCache.getPackageData(fqName)
|
||||
if (packageDataBytes == null) {
|
||||
JetScope.EMPTY
|
||||
JetScope.Empty
|
||||
}
|
||||
else {
|
||||
IncrementalPackageScope(JavaProtoBufUtil.readPackageDataFrom(packageDataBytes))
|
||||
|
||||
Reference in New Issue
Block a user