forked from M-Labs/nac3
1
0
Fork 0
This commit is contained in:
mwojcik 2024-09-13 12:12:02 +08:00
parent 6d0b995772
commit 75a2270183
1 changed files with 1 additions and 2 deletions

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")
};