summary refs log tree commit diff stats
path: root/compiler/jsgen.nim
diff options
context:
space:
mode:
authorJasper Jenkins <jasper.vs.jenkins@gmail.com>2019-05-05 11:45:53 -0700
committerJasper Jenkins <jasper.vs.jenkins@gmail.com>2019-05-05 11:45:53 -0700
commit1f207df7aef7dd469a998a4522891b25eab4c9df (patch)
treef6a682963e50b4b2d514d3972cb4fd79da490436 /compiler/jsgen.nim
parentd4167c3f8c813cbea7f6e4634cc577b4be14d253 (diff)
downloadNim-1f207df7aef7dd469a998a4522891b25eab4c9df.tar.gz
handle in semConst
Diffstat (limited to 'compiler/jsgen.nim')
-rw-r--r--compiler/jsgen.nim1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/jsgen.nim b/compiler/jsgen.nim
index dc81b4e37..cd13aab78 100644
--- a/compiler/jsgen.nim
+++ b/compiler/jsgen.nim
@@ -2503,7 +2503,6 @@ proc gen(p: PProc, n: PNode, r: var TCompRes) =
   of nkPragmaBlock: gen(p, n.lastSon, r)
   of nkComesFrom:
     discard "XXX to implement for better stack traces"
-  of nkExprColonExpr: gen(p, n.sons[1], r)
   else: internalError(p.config, n.info, "gen: unknown node type: " & $n.kind)
 
 proc newModule(g: ModuleGraph; module: PSym): BModule =