From 436d2e02debe058e9968935e742e397c19de628a Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sat, 11 Oct 2025 15:50:19 -0400 Subject: Improvements to set support and updating docs --- src/compile/lists.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/compile') diff --git a/src/compile/lists.c b/src/compile/lists.c index d9fb46a3..bb94eb1d 100644 --- a/src/compile/lists.c +++ b/src/compile/lists.c @@ -253,7 +253,7 @@ Text_t compile_list_method_call(env_t *env, ast_t *ast) { } else if (streq(call->name, "unique")) { self = compile_to_pointer_depth(env, call->self, 0, false); (void)compile_arguments(env, ast, NULL, call->args); - return Texts("Table$from_entries(", self, ", Table$info(", compile_type_info(item_t), ", &Void$info)).entries"); + return Texts("Table$from_entries(", self, ", Table$info(", compile_type_info(item_t), ", &Empty$$info))"); } else if (streq(call->name, "pop")) { EXPECT_POINTER(); arg_t *arg_spec = new (arg_t, .name = "index", .type = INT_TYPE, .default_val = FakeAST(Int, "-1")); -- cgit v1.2.3