diff options
author | Zahary Karadjov <zahary@gmail.com> | 2017-07-18 11:50:06 +0300 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2017-08-19 08:57:43 +0200 |
commit | 7ad115f530942c0fc6718c146ee1a5a97ed61e6f (patch) | |
tree | 200af3aa9257690f92c6c91be478bfbbd17f1e51 /tests/js/tjsffi.nim | |
parent | c3e5c6c326747cf0acbe0e4f3d8dc71f9332a76e (diff) | |
download | Nim-7ad115f530942c0fc6718c146ee1a5a97ed61e6f.tar.gz |
Restore the old behavior of parsing "quote do:"
close #5845
Diffstat (limited to 'tests/js/tjsffi.nim')
-rw-r--r-- | tests/js/tjsffi.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/js/tjsffi.nim b/tests/js/tjsffi.nim index e4aad4b99..325ab6366 100644 --- a/tests/js/tjsffi.nim +++ b/tests/js/tjsffi.nim @@ -309,11 +309,11 @@ block: on("click") do (e: Event): console.log e - jslib.on "reloaded" do: + jslib.on("reloaded") do: console.log jsarguments[0] # this test case is different from the above, because # `subscribe` is not overloaded in the current scope - jslib.subscribe "updates": + jslib.subscribe("updates"): console.log jsarguments[0] |