From: Brendan Hansen Date: Wed, 7 Feb 2024 04:21:19 +0000 (-0600) Subject: fixed: `onyx package migrate` since addition of `--generate-method-info` X-Git-Url: https://git.brendanfh.com/?a=commitdiff_plain;h=097d8f616e61b6881a59f10daae2169d74fea5c6;p=onyx.git fixed: `onyx package migrate` since addition of `--generate-method-info` --- 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));