From ccfe66f87663e10603e453f02894bb82dd23c93b Mon Sep 17 00:00:00 2001 From: Li Jin Date: Mon, 19 Jan 2026 17:11:31 +0800 Subject: Made `;` work as statements separator. --- spec/outputs/codes_from_doc.lua | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'spec/outputs/codes_from_doc.lua') diff --git a/spec/outputs/codes_from_doc.lua b/spec/outputs/codes_from_doc.lua index 1df7cef..3b0724a 100644 --- a/spec/outputs/codes_from_doc.lua +++ b/spec/outputs/codes_from_doc.lua @@ -756,6 +756,9 @@ end local first = select(1, ...) return print(ok, count, first) end)(fn(true)) +local a = 1 +local b = 2 +print(a + b) Rx.Observable.fromRange(1, 8):filter(function(x) return x % 2 == 0 end):concat(Rx.Observable.of('who do we appreciate')):map(function(value) @@ -3283,6 +3286,9 @@ end local first = select(1, ...) return print(ok, count, first) end)(fn(true)) +local a = 1 +local b = 2 +print(a + b) Rx.Observable.fromRange(1, 8):filter(function(x) return x % 2 == 0 end):concat(Rx.Observable.of('who do we appreciate')):map(function(value) -- cgit v1.2.3-55-g6feb