1
0
forked from M-Labs/nac3
This commit is contained in:
mwojcik 2024-09-13 12:12:02 +08:00
parent 6d0b995772
commit 75a2270183

View File

@ -1894,8 +1894,7 @@ impl TopLevelComposer {
} = &mut *function_def
{
let signature_ty_enum = unifier.get_ty(*signature);
let TypeEnum::TFunc(FunSignature { args, ret, vars, .. }) =
signature_ty_enum.as_ref()
let TypeEnum::TFunc(FunSignature { args, ret, vars }) = signature_ty_enum.as_ref()
else {
unreachable!("must be typeenum::tfunc")
};