From 097d8f616e61b6881a59f10daae2169d74fea5c6 Mon Sep 17 00:00:00 2001 From: Brendan Hansen Date: Tue, 6 Feb 2024 22:21:19 -0600 Subject: [PATCH] fixed: `onyx package migrate` since addition of `--generate-method-info` --- compiler/src/onyx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler/src/onyx.c b/compiler/src/onyx.c index 1808f859..986ad31c 100644 --- a/compiler/src/onyx.c +++ b/compiler/src/onyx.c @@ -191,6 +191,7 @@ static CompileOptions compile_opts_parse(bh_allocator alloc, int argc, char *arg options.action = ONYX_COMPILE_ACTION_RUN; options.passthrough_argument_count = argc - 2; options.passthrough_argument_data = &argv[2]; + options.generate_method_info = 1; // The package manager needs this to be enabled. arg_parse_start = argc; bh_arr_push(options.files, bh_aprintf(alloc, "%s/tools/onyx-pkg.onyx", core_installation)); -- 2.25.1