mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 19:58:18 +00:00
Report module params parse error
This commit is contained in:
parent
5b1a3c8f03
commit
760ffaf68f
7 changed files with 74 additions and 1 deletions
|
@ -0,0 +1 @@
|
|||
Header(Params(Arrow(@22), @7))
|
|
@ -0,0 +1 @@
|
|||
module { echo, name } [menu]
|
|
@ -0,0 +1 @@
|
|||
Header(Params(Pattern(End(@20), @7), @7))
|
|
@ -0,0 +1 @@
|
|||
module { echo, name -> [menu]
|
|
@ -249,6 +249,8 @@ mod test_snapshots {
|
|||
fail/when_over_indented_underscore.expr,
|
||||
fail/where_type_variable.expr,
|
||||
fail/wild_case_arrow.expr,
|
||||
fail/module_with_unfinished_params.header,
|
||||
fail/module_params_with_missing_arrow.header,
|
||||
malformed/bad_opaque_ref.expr,
|
||||
malformed/malformed_ident_due_to_underscore.expr,
|
||||
malformed/malformed_pattern_field_access.expr, // See https://github.com/roc-lang/roc/issues/399
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue