diff options
author | Michael Jendrusch <Jendrusch@stud.uni-heidelberg.de> | 2017-01-29 17:34:08 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2017-01-29 17:34:08 +0100 |
commit | d75760f5d3817ab8593a52be3d84ec74cc697cab (patch) | |
tree | 70e193b635d01df2247482b9c16452efcfd01fd2 /tests/js/tvarargs.nim | |
parent | 5e1bdb4d83fdf942c5224280d6c100181f600181 (diff) | |
download | Nim-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.nim | 2 |
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" |