Files
sdk/pkg/analysis_server/lib
Konstantin Shcheglov 993d9705e0 QF. Fix block indentation in 'remove comparison' fix.
When an 'if' statement is always true and is replaced by its block
content, we now correctly extract and unindent the block's text.

The new `_blockContents` method ensures that leading newlines and
trailing indentation from the closing brace are handled correctly,
preventing extra indentation in the resulting code.

Change-Id: I14741062265086e08d450b3c89bcd430767ece82
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/478201
Reviewed-by: Samuel Rawlins <srawlins@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2026-02-03 18:13:17 -08:00
..