From 50e83d6433dd60a101c02016f3effcb34c04efd5 Mon Sep 17 00:00:00 2001 From: Araq Date: Wed, 2 Dec 2015 22:48:35 +0100 Subject: [PATCH] fixes tlocals regression --- compiler/plugins.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/plugins.nim b/compiler/plugins.nim index ff31ab4205..19a0bc84d2 100644 --- a/compiler/plugins.nim +++ b/compiler/plugins.nim @@ -22,7 +22,7 @@ type proc pluginMatches(p: Plugin; s: PSym): bool = if s.name.id != p.fn.id: return false - let module = s.owner.skipGenericOwner + let module = s.skipGenericOwner if module == nil or module.kind != skModule or module.name.id != p.module.id: return false