New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Formatter #371
Merged
Merged
Formatter #371
Commits on Mar 9, 2023
-
hyperfine --warmup 1 "cargo run --release --manifest-path=compiler/cli/Cargo.toml -- run packages/examples/fibonacci.candy" Before: Time (mean ± σ): 1.180 s ± 0.045 s [User: 1.115 s, System: 0.067 s] Range (min … max): 1.092 s … 1.241 s 10 runs After: Time (mean ± σ): 1.096 s ± 0.059 s [User: 1.037 s, System: 0.061 s] Range (min … max): 0.981 s … 1.201 s 10 runs
Configuration menu - View commit details
-
Copy full SHA for 04405bf - Browse repository at this point
Copy the full SHA 04405bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for feaa5b5 - Browse repository at this point
Copy the full SHA feaa5b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 478d256 - Browse repository at this point
Copy the full SHA 478d256View commit details -
Configuration menu - View commit details
-
Copy full SHA for 708f83b - Browse repository at this point
Copy the full SHA 708f83bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 67174f6 - Browse repository at this point
Copy the full SHA 67174f6View commit details
Commits on Mar 10, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a33c2cc - Browse repository at this point
Copy the full SHA a33c2ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for dbdeec2 - Browse repository at this point
Copy the full SHA dbdeec2View commit details -
Configuration menu - View commit details
-
Copy full SHA for ac20c4d - Browse repository at this point
Copy the full SHA ac20c4dView commit details -
Configuration menu - View commit details
-
Copy full SHA for bd46c91 - Browse repository at this point
Copy the full SHA bd46c91View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c95f73 - Browse repository at this point
Copy the full SHA 7c95f73View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9eecc97 - Browse repository at this point
Copy the full SHA 9eecc97View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2fb5cbd - Browse repository at this point
Copy the full SHA 2fb5cbdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 336c5cb - Browse repository at this point
Copy the full SHA 336c5cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for a4cfc2e - Browse repository at this point
Copy the full SHA a4cfc2eView commit details -
Configuration menu - View commit details
-
Copy full SHA for cd1740d - Browse repository at this point
Copy the full SHA cd1740dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d47f47 - Browse repository at this point
Copy the full SHA 1d47f47View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9def5da - Browse repository at this point
Copy the full SHA 9def5daView commit details -
Configuration menu - View commit details
-
Copy full SHA for 574eed1 - Browse repository at this point
Copy the full SHA 574eed1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1533560 - Browse repository at this point
Copy the full SHA 1533560View commit details -
Configuration menu - View commit details
-
Copy full SHA for 79d72b4 - Browse repository at this point
Copy the full SHA 79d72b4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2645fee - Browse repository at this point
Copy the full SHA 2645feeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2de2c06 - Browse repository at this point
Copy the full SHA 2de2c06View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a24e2f - Browse repository at this point
Copy the full SHA 6a24e2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 50485c8 - Browse repository at this point
Copy the full SHA 50485c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a6c1a2 - Browse repository at this point
Copy the full SHA 5a6c1a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for c3f44ba - Browse repository at this point
Copy the full SHA c3f44baView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9163258 - Browse repository at this point
Copy the full SHA 9163258View commit details
Commits on Mar 12, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ba20e60 - Browse repository at this point
Copy the full SHA ba20e60View commit details -
Configuration menu - View commit details
-
Copy full SHA for 182dca1 - Browse repository at this point
Copy the full SHA 182dca1View commit details -
Configuration menu - View commit details
-
Copy full SHA for cf9e978 - Browse repository at this point
Copy the full SHA cf9e978View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1874e44 - Browse repository at this point
Copy the full SHA 1874e44View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e1d222 - Browse repository at this point
Copy the full SHA 3e1d222View commit details -
Configuration menu - View commit details
-
Copy full SHA for b488166 - Browse repository at this point
Copy the full SHA b488166View commit details -
Configuration menu - View commit details
-
Copy full SHA for d0ce9af - Browse repository at this point
Copy the full SHA d0ce9afView commit details -
Configuration menu - View commit details
-
Copy full SHA for df20c66 - Browse repository at this point
Copy the full SHA df20c66View commit details -
Configuration menu - View commit details
-
Copy full SHA for 84a1f4d - Browse repository at this point
Copy the full SHA 84a1f4dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 663f608 - Browse repository at this point
Copy the full SHA 663f608View commit details -
Configuration menu - View commit details
-
Copy full SHA for 15add09 - Browse repository at this point
Copy the full SHA 15add09View commit details -
Configuration menu - View commit details
-
Copy full SHA for 50e1995 - Browse repository at this point
Copy the full SHA 50e1995View commit details -
Configuration menu - View commit details
-
Copy full SHA for b7d7385 - Browse repository at this point
Copy the full SHA b7d7385View commit details -
Configuration menu - View commit details
-
Copy full SHA for aae76de - Browse repository at this point
Copy the full SHA aae76deView commit details
Commits on Mar 13, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 6f0f4d4 - Browse repository at this point
Copy the full SHA 6f0f4d4View commit details
Commits on Mar 14, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 09e4381 - Browse repository at this point
Copy the full SHA 09e4381View commit details -
Configuration menu - View commit details
-
Copy full SHA for ccb1ee3 - Browse repository at this point
Copy the full SHA ccb1ee3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ec8f45 - Browse repository at this point
Copy the full SHA 2ec8f45View commit details -
Configuration menu - View commit details
-
Copy full SHA for 17f2336 - Browse repository at this point
Copy the full SHA 17f2336View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7370d8e - Browse repository at this point
Copy the full SHA 7370d8eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b683d7 - Browse repository at this point
Copy the full SHA 9b683d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5eeeaa1 - Browse repository at this point
Copy the full SHA 5eeeaa1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7de2831 - Browse repository at this point
Copy the full SHA 7de2831View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e3a7c7 - Browse repository at this point
Copy the full SHA 9e3a7c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for ac816f1 - Browse repository at this point
Copy the full SHA ac816f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 41989b0 - Browse repository at this point
Copy the full SHA 41989b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c011fd - Browse repository at this point
Copy the full SHA 9c011fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 89382fb - Browse repository at this point
Copy the full SHA 89382fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for d3d67c3 - Browse repository at this point
Copy the full SHA d3d67c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1326168 - Browse repository at this point
Copy the full SHA 1326168View commit details
Commits on Mar 15, 2023
-
Fix comment handling after struct entry value
Previously, `FormattedCst` tainted the width when there are comments, even when directly `split()`ing it. Now, we store the raw `child_width` and only compute `min_width` dynamically. This also handles the case where whitespace gets adopted later.
Configuration menu - View commit details
-
Copy full SHA for 14ab178 - Browse repository at this point
Copy the full SHA 14ab178View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a9b376 - Browse repository at this point
Copy the full SHA 2a9b376View commit details -
Configuration menu - View commit details
-
Copy full SHA for ae1a806 - Browse repository at this point
Copy the full SHA ae1a806View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3bcfc1e - Browse repository at this point
Copy the full SHA 3bcfc1eView commit details -
Configuration menu - View commit details
-
Copy full SHA for cbb6bff - Browse repository at this point
Copy the full SHA cbb6bffView commit details -
Configuration menu - View commit details
-
Copy full SHA for c214ea4 - Browse repository at this point
Copy the full SHA c214ea4View commit details -
Configuration menu - View commit details
-
Copy full SHA for dd29872 - Browse repository at this point
Copy the full SHA dd29872View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9de8498 - Browse repository at this point
Copy the full SHA 9de8498View commit details -
Configuration menu - View commit details
-
Copy full SHA for 51b19da - Browse repository at this point
Copy the full SHA 51b19daView commit details -
Configuration menu - View commit details
-
Copy full SHA for a73653c - Browse repository at this point
Copy the full SHA a73653cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c19f25 - Browse repository at this point
Copy the full SHA 7c19f25View commit details -
Configuration menu - View commit details
-
Copy full SHA for f5c6813 - Browse repository at this point
Copy the full SHA f5c6813View commit details -
Configuration menu - View commit details
-
Copy full SHA for 37aacb4 - Browse repository at this point
Copy the full SHA 37aacb4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 17e76ee - Browse repository at this point
Copy the full SHA 17e76eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5cda5e5 - Browse repository at this point
Copy the full SHA 5cda5e5View commit details
Commits on Mar 19, 2023
-
Configuration menu - View commit details
-
Copy full SHA for bd01292 - Browse repository at this point
Copy the full SHA bd01292View commit details -
Configuration menu - View commit details
-
Copy full SHA for 66e301d - Browse repository at this point
Copy the full SHA 66e301dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1282307 - Browse repository at this point
Copy the full SHA 1282307View commit details -
Configuration menu - View commit details
-
Copy full SHA for 533a610 - Browse repository at this point
Copy the full SHA 533a610View commit details -
Configuration menu - View commit details
-
Copy full SHA for 126ed83 - Browse repository at this point
Copy the full SHA 126ed83View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5356e7c - Browse repository at this point
Copy the full SHA 5356e7cView commit details
Commits on Mar 20, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c72e937 - Browse repository at this point
Copy the full SHA c72e937View commit details -
Configuration menu - View commit details
-
Copy full SHA for aa10109 - Browse repository at this point
Copy the full SHA aa10109View commit details -
Configuration menu - View commit details
-
Copy full SHA for 760e8d6 - Browse repository at this point
Copy the full SHA 760e8d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for ad41115 - Browse repository at this point
Copy the full SHA ad41115View commit details -
Configuration menu - View commit details
-
Copy full SHA for b2180fe - Browse repository at this point
Copy the full SHA b2180feView commit details -
Configuration menu - View commit details
-
Copy full SHA for 356c843 - Browse repository at this point
Copy the full SHA 356c843View commit details -
Configuration menu - View commit details
-
Copy full SHA for e3bd4b6 - Browse repository at this point
Copy the full SHA e3bd4b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 28f1f4d - Browse repository at this point
Copy the full SHA 28f1f4dView commit details -
Configuration menu - View commit details
-
Copy full SHA for ad49a94 - Browse repository at this point
Copy the full SHA ad49a94View commit details -
Configuration menu - View commit details
-
Copy full SHA for 52bd760 - Browse repository at this point
Copy the full SHA 52bd760View commit details -
Configuration menu - View commit details
-
Copy full SHA for 205f51b - Browse repository at this point
Copy the full SHA 205f51bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7942bec - Browse repository at this point
Copy the full SHA 7942becView commit details -
Configuration menu - View commit details
-
Copy full SHA for 53897ed - Browse repository at this point
Copy the full SHA 53897edView commit details -
Configuration menu - View commit details
-
Copy full SHA for cb27880 - Browse repository at this point
Copy the full SHA cb27880View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d02d84 - Browse repository at this point
Copy the full SHA 5d02d84View commit details -
Configuration menu - View commit details
-
Copy full SHA for d99a466 - Browse repository at this point
Copy the full SHA d99a466View commit details -
Configuration menu - View commit details
-
Copy full SHA for 85cad5d - Browse repository at this point
Copy the full SHA 85cad5dView commit details -
Configuration menu - View commit details
-
Copy full SHA for c57f334 - Browse repository at this point
Copy the full SHA c57f334View commit details
Commits on Mar 21, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 4915995 - Browse repository at this point
Copy the full SHA 4915995View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6eed785 - Browse repository at this point
Copy the full SHA 6eed785View commit details -
Configuration menu - View commit details
-
Copy full SHA for 689c3b1 - Browse repository at this point
Copy the full SHA 689c3b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for f218356 - Browse repository at this point
Copy the full SHA f218356View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d45d3f - Browse repository at this point
Copy the full SHA 9d45d3fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 36b8448 - Browse repository at this point
Copy the full SHA 36b8448View commit details -
1
Configuration menu - View commit details
-
Copy full SHA for db88af0 - Browse repository at this point
Copy the full SHA db88af0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 074c16e - Browse repository at this point
Copy the full SHA 074c16eView commit details -
Configuration menu - View commit details
-
Copy full SHA for b61e4d4 - Browse repository at this point
Copy the full SHA b61e4d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ca4797 - Browse repository at this point
Copy the full SHA 4ca4797View commit details -
Configuration menu - View commit details
-
Copy full SHA for d3b6271 - Browse repository at this point
Copy the full SHA d3b6271View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1eab824 - Browse repository at this point
Copy the full SHA 1eab824View commit details -
Configuration menu - View commit details
-
Copy full SHA for c752b3d - Browse repository at this point
Copy the full SHA c752b3dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2bcbbdc - Browse repository at this point
Copy the full SHA 2bcbbdcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1029688 - Browse repository at this point
Copy the full SHA 1029688View commit details -
2
Configuration menu - View commit details
-
Copy full SHA for f538334 - Browse repository at this point
Copy the full SHA f538334View commit details
Commits on Mar 22, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b458d82 - Browse repository at this point
Copy the full SHA b458d82View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8370d52 - Browse repository at this point
Copy the full SHA 8370d52View commit details -
Configuration menu - View commit details
-
Copy full SHA for dcb0272 - Browse repository at this point
Copy the full SHA dcb0272View commit details -
Configuration menu - View commit details
-
Copy full SHA for fe60744 - Browse repository at this point
Copy the full SHA fe60744View commit details -
Configuration menu - View commit details
-
Copy full SHA for 77d5602 - Browse repository at this point
Copy the full SHA 77d5602View commit details
Commits on Mar 23, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 8135c59 - Browse repository at this point
Copy the full SHA 8135c59View commit details
Commits on Mar 27, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 4afeabb - Browse repository at this point
Copy the full SHA 4afeabbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 59af047 - Browse repository at this point
Copy the full SHA 59af047View commit details -
Configuration menu - View commit details
-
Copy full SHA for a404ef1 - Browse repository at this point
Copy the full SHA a404ef1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7593224 - Browse repository at this point
Copy the full SHA 7593224View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ac528a - Browse repository at this point
Copy the full SHA 6ac528aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c017ae - Browse repository at this point
Copy the full SHA 3c017aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for ac38f12 - Browse repository at this point
Copy the full SHA ac38f12View commit details -
1
Configuration menu - View commit details
-
Copy full SHA for 73e5195 - Browse repository at this point
Copy the full SHA 73e5195View commit details -
1
Configuration menu - View commit details
-
Copy full SHA for 7dcca45 - Browse repository at this point
Copy the full SHA 7dcca45View commit details -
Co-authored-by: Marcel Garus <marcel.garus@gmail.com>
1Configuration menu - View commit details
-
Copy full SHA for a5ad59b - Browse repository at this point
Copy the full SHA a5ad59bView commit details -
Use str::repeat(…) i/o for loop with write!(…)
Co-authored-by: Marcel Garus <marcel.garus@gmail.com>
1Configuration menu - View commit details
-
Copy full SHA for f250796 - Browse repository at this point
Copy the full SHA f250796View commit details -
1
Configuration menu - View commit details
-
Copy full SHA for 926a8c8 - Browse repository at this point
Copy the full SHA 926a8c8View commit details -
1
Configuration menu - View commit details
-
Copy full SHA for 54ccb2e - Browse repository at this point
Copy the full SHA 54ccb2eView commit details -
1
Configuration menu - View commit details
-
Copy full SHA for bd55af6 - Browse repository at this point
Copy the full SHA bd55af6View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.