summary refs log tree commit diff stats
path: root/rod
diff options
context:
space:
mode:
Diffstat (limited to 'rod')
-rwxr-xr-xrod/semfold.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/rod/semfold.nim b/rod/semfold.nim
index 1a55141c7..7aa6da1a6 100755
--- a/rod/semfold.nim
+++ b/rod/semfold.nim
@@ -258,9 +258,9 @@ proc leValueConv(a, b: PNode): bool =
   else: InternalError(a.info, "leValueConv")
   
 proc magicCall(m: PSym, n: PNode): PNode =
-  var s = n.sons[0].sym
   if sonsLen(n) <= 1: return
-  
+
+  var s = n.sons[0].sym
   var a = getConstExpr(m, n.sons[1])
   var b, c: PNode
   if a == nil: return