return try

This commit is contained in:
nora 2022-01-18 21:43:16 +01:00
parent f2bff066c6
commit 6a8eb89381
8 changed files with 86 additions and 11 deletions

View file

@ -192,7 +192,7 @@ impl<'bc, 'gc> Compiler<'bc, 'gc> {
decl.params[u8::MAX as usize]
.span
.extend(decl.params.last().unwrap().span),
"Too many parameters".to_string(),
"Too many parameters. How the fuck did you do this.".to_string(),
)
})?,
};