fix Defect check in non-strict mode (#170)
This commit is contained in:
parent
c206d2bc19
commit
075b7abf4c
|
@ -92,7 +92,7 @@ else:
|
|||
retFutureSym.fail(exc)
|
||||
except Exception as exc:
|
||||
# TODO remove Exception handler to turn on strict mode
|
||||
if exc is Defect:
|
||||
if exc of Defect:
|
||||
raise (ref Defect)(exc)
|
||||
|
||||
futureVarCompletions
|
||||
|
|
Loading…
Reference in New Issue