mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 11:52:19 +00:00
![]() Notably: * Unified how parens are formatted between (1) when we have a ParensAround, and (2) when we've decided an Apply needs to have parens * Made unary minus require the be indented to the same level as any other expression continuation. (it used to accidentally have rules meant for binary operators applied) * Don't apply extra indent to the backpassing continuation in the case that the call does itself require indentation * Make `try@foo` correctly parse as `try @foo`, so that formatting doesn't change the tree when it adds that space * Detect more cases where we need to outdent trailing e.g. {} blocks in applies * Approximately a bagillion other things, 90% of which I added tests for, and none of which affected the formatting of examples or builtins |
||
---|---|---|
.. | ||
fuzz_targets | ||
Cargo.toml | ||
dict.txt | ||
README.md |
fuzz
To setup fuzzing you will need to install cargo-fuzz and run with rust nightly:
$ cargo install cargo-fuzz
$ cargo +nightly fuzz run -j<cores> <target> -- -dict=../dict.txt
The different targets can be found by running cargo fuzz list
.
When a bug is found, it will be reported with commands to run it again and look for a minimized version. If you are going to file a bug, please minimize the input before filing the bug.