(cherry picked from commit c352892232)
This commit is contained in:
Araq
2019-07-01 12:34:19 +02:00
committed by narimiran
parent 09d43c1d8f
commit c454cdac49

View File

@@ -696,6 +696,7 @@ proc track(tracked: PEffects, n: PNode) =
addEffect(tracked, n.sons[0], useLineInfo=false)
for i in 0 ..< safeLen(n):
track(tracked, n.sons[i])
createTypeBoundOps(tracked.graph, tracked.c, n[0].typ, n.info)
else:
# A `raise` with no arguments means we're going to re-raise the exception
# being handled or, if outside of an `except` block, a `ReraiseError`.