From 7ac3519dc40bb6f6ab979c9cd35fd585f25d1c25 Mon Sep 17 00:00:00 2001 From: Li Jin Date: Thu, 23 Jan 2020 14:35:14 +0800 Subject: fix Moonscript issue 156, update new 'import' functions. --- spec/inputs/existential.moon | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'spec/inputs/existential.moon') diff --git a/spec/inputs/existential.moon b/spec/inputs/existential.moon index 97e8de0..eaa3266 100644 --- a/spec/inputs/existential.moon +++ b/spec/inputs/existential.moon @@ -1,8 +1,20 @@ -if {:x} = a?.if?\then?(123)? @?\function 998 + +f?! + +x = tab?.value + +print abc?["hello world"]?.xyz + +if print and x? print x +@?\func 998 + with abc?!\func?! if \p? "abc" return 123 -@?\func 998 +if {:x} = a?.if?\then?(123)? @?\function 998 + print x + + -- cgit v1.2.3-55-g6feb