If branch inference should not trigger for things we don't know, fixes #1530

This commit is contained in:
Dave Halter committed 2020-03-31 22:46:31 +02:00
1 parent 604029568c
commit ac33d5dea3
4 files changed
+19 -3

No files matched your search

+3
View File
@@ -43,6 +43,9 @@ else:
def addition(a, b):
if type(a) == type(b):
# Might still be a type error, we might want to change this in the
# future.
#! 9 type-error-operation
return a + b
else:
#! 9 type-error-operation