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
Does this fix also fix this error in Flutter tests?
Error from the analysis server: Exception while getting bulk fixes: type 'NotLibraryButPartResult' is not a subtype of type 'ParsedLibraryResult' in type cast
| #0 BulkFixProcessor._computeChangesToPubspec (package:analysis_server/src/services/correction/bulk_fix_processor.dart:373:13)
| #1 BulkFixProcessor.fixPubspec (package:analysis_server/src/services/correction/bulk_fix_processor.dart:284:7)
| #2 EditBulkFixes.handle (package:analysis_server/src/handler/legacy/edit_bulk_fixes.dart:56:38)
| #3 LegacyAnalysisServer.handleRequest.<anonymous closure>.<anonymous closure> (package:analysis_server/src/legacy_analysis_server.dart:559:25)
Activity
[analysis_server] Fix LSP "Fix All" command for part files
DanTup commentedon Oct 26, 2023
Fixed by dart-lang/sdk@28456ae
The change is in the Dart analysis server so will show up in a future Dart/Flutter SDK release (not a VS Code extension release).
whesse commentedon Oct 26, 2023
[EDIT]: The error is most likely due to another CL, https://dart-review.googlesource.com/c/sdk/+/331740
Ignore this comment.
Does this fix also fix this error in Flutter tests?
flutter/flutter#137298