mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 20:28:02 +00:00
Parse inline imports and ingested files at the expression level
``` numbers = import "numbers.json" as numbersJson : Str import json.Decode exposing [decode, list, int] numbersJson |> decode (list int) |> Result.withDefault [] ```
This commit is contained in:
parent
2d93f0c3f1
commit
11e0202eb9
8 changed files with 219 additions and 5 deletions
|
@ -330,6 +330,8 @@ mod test_snapshots {
|
|||
pass/import_with_comments.moduledefs,
|
||||
pass/import_with_exposed.moduledefs,
|
||||
pass/ingested_file.moduledefs,
|
||||
pass/inline_import.expr,
|
||||
pass/inline_ingested_file.expr,
|
||||
pass/int_with_underscore.expr,
|
||||
pass/interface_with_newline.header,
|
||||
pass/lambda_in_chain.expr,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue