diff options
| author | Daniel Gavin <danielgavin5@hotmail.com> | 2022-07-27 13:21:23 +0200 |
|---|---|---|
| committer | Daniel Gavin <danielgavin5@hotmail.com> | 2022-07-27 13:21:23 +0200 |
| commit | 1678bfe866502b37344214ae658ca32ccc41c74f (patch) | |
| tree | 7662006d3baa0c4f5fbf493e97dbc01c0050f669 /src | |
| parent | bb30f33d507f9aa81a725d70b202821d634cd044 (diff) | |
Fix snapshot error in procedures.odin
Diffstat (limited to 'src')
| -rw-r--r-- | src/odin/printer/visit.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/odin/printer/visit.odin b/src/odin/printer/visit.odin index 10df536..04d1ada 100644 --- a/src/odin/printer/visit.odin +++ b/src/odin/printer/visit.odin @@ -1584,7 +1584,7 @@ visit_proc_type :: proc(p: ^Printer, proc_type: ast.Proc_Type, contains_body: bo document = cons(document, text("(")) } - document = cons(document, nest(cons(break_with(""), visit_signature_list(p, proc_type.params, contains_body, false)))) + document = cons(document, nest(cons(break_with(""), visit_signature_list(p, proc_type.params, true, false)))) document = cons(document, cons(break_with(""), text(")"))) if proc_type.results != nil && len(proc_type.results.list) > 0 { |