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)
|
retFutureSym.fail(exc)
|
||||||
except Exception as exc:
|
except Exception as exc:
|
||||||
# TODO remove Exception handler to turn on strict mode
|
# TODO remove Exception handler to turn on strict mode
|
||||||
if exc is Defect:
|
if exc of Defect:
|
||||||
raise (ref Defect)(exc)
|
raise (ref Defect)(exc)
|
||||||
|
|
||||||
futureVarCompletions
|
futureVarCompletions
|
||||||
|
|
Loading…
Reference in New Issue