Drop RawTypeMarker as it's effectively unused anymore
See the previous commits
This commit is contained in:
committed by
Space Team
parent
608cb01935
commit
a3dcc2032f
+1
-1
@@ -143,7 +143,7 @@ abstract class AbstractTypeApproximator(
|
||||
|
||||
val lowerResult = approximateTo(lowerBound, conf, depth)
|
||||
|
||||
val upperResult = if (type !is RawTypeMarker && lowerBound.typeConstructor() == upperBound.typeConstructor())
|
||||
val upperResult = if (!type.isRawType() && lowerBound.typeConstructor() == upperBound.typeConstructor())
|
||||
lowerResult?.withNullability(upperBound.isMarkedNullable())
|
||||
else
|
||||
approximateTo(upperBound, conf, depth)
|
||||
|
||||
Reference in New Issue
Block a user