You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The cause of this was that we de-dupe when there are overlapping fixes on the same line. The de-duping code created a new "combined" CodeAction which was not storing its priority properly, and always being sorted last.
Activity
DanTup commentedon Oct 31, 2022
🤔
Using a recent bleeding-edge build.
DanTup commentedon Oct 31, 2022
2.18.0
DanTup commentedon Oct 31, 2022
Seems to depend on the specific text.. changing
varback toUint8Listtriggers it:This seems to be match the order from the server:
DanTup commentedon Oct 31, 2022
The cause of this was that we de-dupe when there are overlapping fixes on the same line. The de-duping code created a new "combined" CodeAction which was not storing its priority properly, and always being sorted last.
Fix at https://dart-review.googlesource.com/c/sdk/+/266680.
[analysis_server] Ensure code action fix priorities are respected eve…
DanTup commentedon Oct 31, 2022
Fixed by dart-lang/sdk@00ca14f.