summary refs log tree commit diff stats
path: root/compiler/sem.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2013-03-25 01:44:52 +0100
committerAraq <rumpf_a@web.de>2013-03-25 01:44:52 +0100
commit3051c52f517be70b4efb8d5823a3f4cb5cb7cd5e (patch)
tree9de025b3233866922587e49293ef10cf1d49c524 /compiler/sem.nim
parent0eae08af7e65c8863e22236ddbf269516808767e (diff)
downloadNim-3051c52f517be70b4efb8d5823a3f4cb5cb7cd5e.tar.gz
fixes a long-standing bug about procvar checking
Diffstat (limited to 'compiler/sem.nim')
-rw-r--r--compiler/sem.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/sem.nim b/compiler/sem.nim
index f20ab9a05..60ece4b30 100644
--- a/compiler/sem.nim
+++ b/compiler/sem.nim
@@ -201,7 +201,7 @@ proc myOpen(module: PSym): PPassContext =
   if c.p != nil: InternalError(module.info, "sem.myOpen")
   c.semConstExpr = semConstExpr
   c.semExpr = semExpr
-  c.semExprWithType = semExprWithType
+  c.semOperand = semOperand
   c.semConstBoolExpr = semConstBoolExpr
   c.semOverloadedCall = semOverloadedCall
   c.semTypeNode = semTypeNode