[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: [Proposal] Please skip empty statements after return
- From: "Soni \"They/Them\" L." <fakedme@...>
- Date: Mon, 24 Jun 2019 01:10:03 -0300
Consider these currently invalid programs: (they are not equivalent.
that's intended.)
-- 1.lua
function foo(x, y)
if x then
goto bye
end
return y
::bye::
end
-- 2.lua
function foo(y)
;; function bar(x)
;;;; if x then
;;;;;; print(y)
;;;; end
;;;; return x, y
;; end
;; return bar
end
I wish the worked.