roc/crates/compiler/test_syntax
Elias Mulhall 19931ecd43
Support passing values into dbg with the pipe operator
In order to desugar `dbg` in a pipeline we need to allow a bare `dbg`
node in desugaring and only report it as an error if the bare node
survives to the next step of canonicalization. This means we move the
error code out of `desugar_expr` and into `canonicalize_expr`. This is
much simpler to do now that these functions use the same `env` struct,
since previously we would have had to pass down extra args to
`canonicalize_expr`. Sharing the `env` struct means that we also don't
have to worry about calculating `line_info` more than once.
2024-09-05 20:13:54 -04:00
..
fuzz Implement block / indent based parsing 2024-07-27 13:34:16 -07:00
src Merge attempt 2024-08-19 23:34:05 -07:00
tests Support passing values into dbg with the pipe operator 2024-09-05 20:13:54 -04:00
Cargo.toml split test_utils 2024-04-15 20:30:34 +10:00