Remove useless casts after fixing subtyping for star projections
This commit is contained in:
+1
-2
@@ -276,8 +276,7 @@ public class JavaNullabilityWarningsChecker : AdditionalTypeChecker {
|
||||
}
|
||||
}
|
||||
else {
|
||||
// TODO: Compiler bug
|
||||
doIfNotNull(dataFlowValue, c as ResolutionContext<*>) {
|
||||
doIfNotNull(dataFlowValue, c) {
|
||||
c.trace.report(Errors.UNNECESSARY_SAFE_CALL.on(c.call.getCallOperationNode().getPsi(), receiverArgument.getType()))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user