[fine] Starting to work on generic parameters (yikes)
This commit is contained in:
parent
aaa88717f5
commit
b92287ec1f
2 changed files with 21 additions and 5 deletions
|
|
@ -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!")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue