From d8a627c58ab05de3b2a57174f7ded7770ce16a35 Mon Sep 17 00:00:00 2001 From: Aaron Smith <83140718+centau@users.noreply.github.com> Date: Tue, 19 Sep 2023 17:37:42 +0100 Subject: [PATCH] Fix test type error --- test/tests.luau | 4 +++- todo.md | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/test/tests.luau b/test/tests.luau index f3ad794..b0e7e67 100644 --- a/test/tests.luau +++ b/test/tests.luau @@ -1174,7 +1174,7 @@ TEST("indexes()", wrap_root(function() local updated = table.create(100, 0) - local elements = indexes(items, function(item) + indexes(items, function(item) effect(function() item() updated[1] += 1 @@ -1184,6 +1184,8 @@ TEST("indexes()", wrap_root(function() item() updated[2] += 1 end) + + return {} end) effect(function() diff --git a/todo.md b/todo.md index 933d2b5..bac72b2 100644 --- a/todo.md +++ b/todo.md @@ -13,3 +13,4 @@ - define behavior of deriving a source within a derived source - review destruction of node under a root that has a child in another root - check in strict mode for forgetting to call constructor `create(class)` +- improve crash course, some sections feel like information dumps