From 7066392d1c974065181d95d93274136dcd625d43 Mon Sep 17 00:00:00 2001 From: Li Jin Date: Wed, 17 Feb 2021 11:22:07 +0800 Subject: stop reusing variables, rename project. --- spec/inputs/return.mp | 55 --------------------------------------------------- 1 file changed, 55 deletions(-) delete mode 100644 spec/inputs/return.mp (limited to 'spec/inputs/return.mp') diff --git a/spec/inputs/return.mp b/spec/inputs/return.mp deleted file mode 100644 index f170ffd..0000000 --- a/spec/inputs/return.mp +++ /dev/null @@ -1,55 +0,0 @@ --- testing `return` propagation - -_ = -> _ = x for x in *things -_ = -> [x for x in *things] - - --- doesn't make sense on purpose -do - return x for x in *things - -do - return [x for x in *things] - -do - return {x,y for x,y in *things} - -_ = -> - if a - if a - a - else - b - elseif b - if a - a - else - b - else - if a - a - else - b - - -do - return if a - if a - a - else - b - elseif b - if a - a - else - b - else - if a - a - else - b - -_ = -> a\b -do a\b - - -- cgit v1.2.3-55-g6feb