Avatar for the FuelLabs user
FuelLabs
sway
BlogDocsChangelog

Performance History

Latest Results

removing verify-ir from the CLI. Verification will always run now.
xunilrj/removing-cli-verify
14 hours ago
Fix forc-fmt empty if-body + else collapsing onto one line (#7628) ## Description Fixes #7625 `forc-fmt` collapses empty if-body + else onto a single line: ```sway // Before (wrong): if __size_of::<T>() == 0 { } else if __is_reference_type::<T>() { // After (correct): if __size_of::<T>() == 0 { } else if __is_reference_type::<T>() { ``` **Root cause**: In `format_then_block`, when the then-block is empty and has an else clause, `block_unindent()` was called but no newline was written — so the closing `}` from `format_else_opt` ended up on the same line. **Fix**: Write a newline after the empty body when an else clause exists, and skip `block_unindent` since `close_curly_brace` in `format_else_opt` already handles unindentation. Guarded with `LineStyle::Inline` to avoid injecting newlines during width measurement probes. ## Checklist - [x] I have linked to any relevant issues. - [ ] I have commented my code, particularly in hard-to-understand areas. - [ ] I have updated the documentation where relevant (API docs, the reference, and the Sway book). - [ ] If my change requires substantial documentation changes, I have [requested support from the DevRel team](https://github.com/FuelLabs/devrel-requests/issues/new/choose) - [x] I have added tests that prove my fix is effective or that my feature works. - [ ] I have added (or requested a maintainer to add) the necessary `Breaking*` or `New Feature` labels where relevant. - [x] I have done my best to ensure that my PR adheres to [the Fuel Labs Code Review Standards](https://github.com/FuelLabs/rfcs/blob/master/text/code-standards/external-contributors.md). - [ ] I have requested a review from the relevant team or maintainers. --------- Co-authored-by: Igor Rončević <ironcev@hotmail.com>
master
1 day ago
remove checl for local var immutability
xunilrj/fix-opt-passes-convergence
6 days ago
remove checl for local var immutability
xunilrj/fix-opt-passes-convergence
6 days ago
PR adjustments
xunilrj/fix-opt-passes-convergence
6 days ago

Latest Branches

CodSpeed Performance Gauge
0%
Removing verify-ir from the CLI#7672
6 days ago
7e7ce5e
xunilrj/removing-cli-verify
CodSpeed Performance Gauge
0%
fix modified in optimisation passes so they converge#7666
6 days ago
5946264
xunilrj/fix-opt-passes-convergence
CodSpeed Performance Gauge
-16%
9 days ago
d665a3a
ironcev/refactor-std-tests
© 2026 CodSpeed Technology
Home Terms Privacy Docs