Skip to content

Commit

Permalink
feat(parsing): updates default_env_opts so that the parse_lang argume…
Browse files Browse the repository at this point in the history
…nt is non-optional
  • Loading branch information
JR-Mitchell committed Dec 19, 2024
1 parent c8be201 commit 4dab40b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tl.tl
Original file line number Diff line number Diff line change
Expand Up @@ -13451,7 +13451,7 @@ function tl.target_from_lua_version(str: string): GenTarget
end
end

local function default_env_opts(runtime: boolean, parse_lang?: ParseLang): EnvOptions
local function default_env_opts(runtime: boolean, parse_lang: ParseLang): EnvOptions
local gen_target = runtime and tl.target_from_lua_version(_VERSION) or DEFAULT_GEN_TARGET
local gen_compat: GenCompat = (gen_target == "5.4") and "off" or DEFAULT_GEN_COMPAT
return {
Expand Down

0 comments on commit 4dab40b

Please sign in to comment.