From 319f49796439e50640cadff1220681a217be98a3 Mon Sep 17 00:00:00 2001 From: Li Jin Date: Thu, 12 Feb 2026 10:45:06 +0800 Subject: Added the all-in-one doc. --- spec/outputs/codes_from_doc_en.lua | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'spec/outputs/codes_from_doc_en.lua') diff --git a/spec/outputs/codes_from_doc_en.lua b/spec/outputs/codes_from_doc_en.lua index 4006605..6d822e1 100644 --- a/spec/outputs/codes_from_doc_en.lua +++ b/spec/outputs/codes_from_doc_en.lua @@ -2163,6 +2163,18 @@ repeat result = _with_0.value break until true +local a +do + local _with_0 = obj + _with_0.x = 1 + a = _with_0 +end +local b +local _with_0 = obj +repeat + b = _with_0.x + break +until true local create_person create_person = function(name, relatives) local _with_0 = Person() @@ -2209,6 +2221,18 @@ repeat result = _with_0.value break until true +local a +do + local _with_0 = obj + _with_0.x = 1 + a = _with_0 +end +local b +local _with_0 = obj +repeat + b = _with_0.x + break +until true local create_person create_person = function(name, relatives) local _with_0 = Person() -- cgit v1.2.3-55-g6feb