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 } = &mut *function_def
{ {
let signature_ty_enum = unifier.get_ty(*signature); let signature_ty_enum = unifier.get_ty(*signature);
let TypeEnum::TFunc(FunSignature { args, ret, vars, .. }) = let TypeEnum::TFunc(FunSignature { args, ret, vars }) = signature_ty_enum.as_ref()
signature_ty_enum.as_ref()
else { else {
unreachable!("must be typeenum::tfunc") unreachable!("must be typeenum::tfunc")
}; };