[fine] Starting to work on generic parameters (yikes)

This commit is contained in:
John Doty 2024-01-16 19:52:45 -08:00
parent aaa88717f5
commit b92287ec1f
2 changed files with 21 additions and 5 deletions

View file

@ -478,7 +478,9 @@ fn compile_identifier_expression(c: &mut Compiler, t: TreeRef, tree: &Tree) -> O
None => {
let tree = &c.syntax[*declaration];
compiler_assert_eq!(c, t, tree.kind, TreeKind::FunctionDecl);
compile_function_declaration(c, t, tree, false)?;
*c.function_bindings
.get(&key)
.expect("did not compile the function!")