Minor. Fixed method name.
This commit is contained in:
+1
-1
@@ -38,7 +38,7 @@ import java.util.List;
|
|||||||
// This class contains heuristics for processing corner cases in propagation
|
// This class contains heuristics for processing corner cases in propagation
|
||||||
class PropagationHeuristics {
|
class PropagationHeuristics {
|
||||||
// Checks for case when method returning Super[] is overridden with method returning Sub[]
|
// Checks for case when method returning Super[] is overridden with method returning Sub[]
|
||||||
static void checkArrayInReturnTypeType(
|
static void checkArrayInReturnType(
|
||||||
@NotNull SignaturesPropagationData data,
|
@NotNull SignaturesPropagationData data,
|
||||||
@NotNull JetType type,
|
@NotNull JetType type,
|
||||||
@NotNull List<SignaturesPropagationData.TypeAndVariance> typesFromSuper
|
@NotNull List<SignaturesPropagationData.TypeAndVariance> typesFromSuper
|
||||||
|
|||||||
+1
-1
@@ -328,7 +328,7 @@ public class SignaturesPropagationData {
|
|||||||
resultArguments,
|
resultArguments,
|
||||||
resultScope);
|
resultScope);
|
||||||
|
|
||||||
PropagationHeuristics.checkArrayInReturnTypeType(this, type, typesFromSuper);
|
PropagationHeuristics.checkArrayInReturnType(this, type, typesFromSuper);
|
||||||
return type;
|
return type;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user