From c352892232c75a4f3f23ef4da5218cf06b063ce9 Mon Sep 17 00:00:00 2001 From: Araq Date: Mon, 1 Jul 2019 12:34:19 +0200 Subject: [PATCH] fixes #11628 --- compiler/sempass2.nim | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler/sempass2.nim b/compiler/sempass2.nim index 6cde125884..7e75dde6db 100644 --- a/compiler/sempass2.nim +++ b/compiler/sempass2.nim @@ -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`.