mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
New module
header
Implements the new `module` header syntax as described in "module and package changes" [1]: ``` module [Request, Response, req] ``` The old syntax should still work fine, and is automatically upgraded to the new one when running `roc format`. [1] https://docs.google.com/document/d/1E_77fO-44BtoBtXoVeWyGh1xN2KRTWTu8q6i25RNNx0/edit
This commit is contained in:
parent
7754dd7ef7
commit
057a18573a
92 changed files with 1445 additions and 1563 deletions
|
@ -3621,7 +3621,7 @@ fn to_exposes_report<'a>(
|
|||
"I was expecting a type name, value name or function name next, like",
|
||||
)]),
|
||||
alloc
|
||||
.parser_suggestion("exposes [Animal, default, tame]")
|
||||
.parser_suggestion("[Animal, default, tame]")
|
||||
.indent(4),
|
||||
]);
|
||||
|
||||
|
@ -3646,7 +3646,7 @@ fn to_exposes_report<'a>(
|
|||
alloc.reflow(" keyword next, like"),
|
||||
]),
|
||||
alloc
|
||||
.parser_suggestion("exposes [Animal, default, tame]")
|
||||
.parser_suggestion("[Animal, default, tame]")
|
||||
.indent(4),
|
||||
]);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue