Python: Remove excessive type pruning

This commit is contained in:
Rasmus Lerchedahl Petersen
2020-06-18 13:58:47 +02:00
parent 1562f5c69a
commit 03b26f7ebe
2 changed files with 6 additions and 1 deletions

View File

@@ -171,7 +171,7 @@ class CastNode extends Node {
*/
pragma[inline]
predicate compatibleTypes(DataFlowType t1, DataFlowType t2) {
none()
any()
}
DataFlowType getErasedRepr(DataFlowType t) { result = t }