Restore the old behavior of parsing "quote do:"

close #5845
This commit is contained in:
Zahary Karadjov 2017-07-18 11:50:06 +03:00 • committed by Andreas Rumpf
commit 7ad115f530
6 changed files with 260 additions and 215 deletions

View file

@ -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]