From ed317e62eb1cf98fde4461fc90c6cb1045ebc7e8 Mon Sep 17 00:00:00 2001 From: Li Jin Date: Sat, 25 Jan 2020 17:48:03 +0800 Subject: fix Moonscript issue 375. --- spec/inputs/existential.moon | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) (limited to 'spec/inputs/existential.moon') diff --git a/spec/inputs/existential.moon b/spec/inputs/existential.moon index f7d5ebd..2264768 100644 --- a/spec/inputs/existential.moon +++ b/spec/inputs/existential.moon @@ -1,5 +1,7 @@ -f?! +f1?! + +f2? "arg0",123 x = tab?.value @@ -19,3 +21,21 @@ if {:x} = a?.if?\then?(123)? @?\function 998 res = b.function\do!\while?("OK")\if("def",998)\f? print res + +solipsism = true if mind? and not world? + +speed = 0 +speed or= 15 + +footprints = yeti or "bear" + +major = 'Computer Science' + +unless major? + signUpForClass 'Introduction to Wines' + +if window? + environment = 'browser (probably)' + +zip = lottery.drawWinner?!.address?.zipcode + -- cgit v1.2.3-55-g6feb