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
{{ message }}
Repository navigation
Autocomplete/IntelliSense does not work for functions that return a record with named fields when using an expression body. #5162
Trigger the autocompletion inside the returned record and you can see that only show the suggestions in the block body, and not in expression body.
Expected behavior
Should show the named fields suggestions.
Please complete the following information:
You can run the Dart: Collect Diagnostic Information command from the VS Code command palette (F1) to easily capture this information or provide it manually.
Activity
DanTup commentedon Jul 4, 2024
Working on a fix at https://dart-review.googlesource.com/c/sdk/+/374600
[analysis_server] Fix context type for function expressions with impl…
DanTup commentedon Jul 10, 2024
Fixed by dart-lang/sdk@96a7c6a. The change is in the Dart analysis server so will show up in a Future Dart SDK release (not a Dart-Code release).