summary refs log tree commit diff stats
path: root/tests/js/tvarargs.nim
diff options
context:
space:
mode:
authorMichael Jendrusch <Jendrusch@stud.uni-heidelberg.de>2017-01-29 17:34:08 +0100
committerAndreas Rumpf <rumpf_a@web.de>2017-01-29 17:34:08 +0100
commitd75760f5d3817ab8593a52be3d84ec74cc697cab (patch)
tree70e193b635d01df2247482b9c16452efcfd01fd2 /tests/js/tvarargs.nim
parent5e1bdb4d83fdf942c5224280d6c100181f600181 (diff)
downloadNim-d75760f5d3817ab8593a52be3d84ec74cc697cab.tar.gz
made nodecl implicit for vars in the js backend. (#5297)
Diffstat (limited to 'tests/js/tvarargs.nim')
-rw-r--r--tests/js/tvarargs.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/js/tvarargs.nim b/tests/js/tvarargs.nim
index e2366d7a9..2ddb421f8 100644
--- a/tests/js/tvarargs.nim
+++ b/tests/js/tvarargs.nim
@@ -6,7 +6,7 @@ type
     log*: proc() {.nimcall varargs.}
   Console = ref ConsoleObj
 
-var console* {.importc nodecl.}: Console
+var console* {.importc.}: Console
 
 when isMainModule:
   console.log "Hello, world"