roc/crates/compiler/test_syntax
Agus Zubiaga c56091ee3e
Module Params' proposal import syntax
I previously implemented the syntax in "Proposal: Module and Package Changes" [1]:

```
import [map, map2] from JsonDecode as JD
```

However, we decided [2] to use the one that appears in "Proposal: Module Params" [3]:

```
import JsonDecode as JD exposing [map, map2]
```

The new implementation also now supports comments and newlines between all the tokens.

[1] https://docs.google.com/document/d/1E_77fO-44BtoBtXoVeWyGh1xN2KRTWTu8q6i25RNNx0/edit
[2] 405410612
[3] https://docs.google.com/document/d/110MwQi7Dpo1Y69ECFXyyvDWzF4OYv1BLojIm08qDTvg/edit
2024-01-20 08:35:50 -03:00
..
fuzz Consolidate gitignore 2024-01-10 22:16:04 -05:00
src auto clippy fixes 2023-07-10 18:27:08 +02:00
tests Module Params' proposal import syntax 2024-01-20 08:35:50 -03:00
Cargo.toml run a toml formatter and then clean it up a bit 2023-03-06 19:47:57 -08:00