From bfdc7a92c4e3e99522abb6d90ef2cbb021f36fc8 Mon Sep 17 00:00:00 2001 From: Benoit Germain Date: Thu, 5 Jun 2025 16:03:22 +0200 Subject: Change lane:join() return values * when no error is raised in the lane, lane:join() now precedes the lane returned values with true * lane body is no longer forced to return something when used with join() * adjusted all relevant unit tests accordingly --- tests/appendud.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/appendud.lua') diff --git a/tests/appendud.lua b/tests/appendud.lua index f6f99c1..2a8c8ce 100644 --- a/tests/appendud.lua +++ b/tests/appendud.lua @@ -49,7 +49,7 @@ assert(not err) -- test -- print("t:join()") a,b,c = t[1],t[2],t[3] -- Need to explicitly wait for the thread, since 'ipairs()' does not ---a,b,c = t:join() -- Need to explicitly wait for the thread, since 'ipairs()' does not +--r,a,b,c = t:join() -- Need to explicitly wait for the thread, since 'ipairs()' does not -- value the '__index' metamethod (wouldn't it be cool if it did..?) print(a,b,c) -- cgit v1.2.3-55-g6feb