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 error and stackTrace arguments are not highlighted, so they look the same as a dynamic foo = 42; variable would look.
Type inference does not work either when hovering over either error or stackTrace, even though we know that error is an Object and stackTrace is a StackTrace
Expected behavior
I expect that the error and stackTrace arguments get highlighted in blue. When hovering over either error or stackTrace, the tooltip should display the proper type.
Screenshots
Please complete the following information:
Operating System and version: macOS 12.2.1 21D62 darwin-x64
Fixed by dart-lang/sdk@792aede. This change is in the Dart analysis server so will ship with a future Dart/Flutter SDK release rather than show up in the VS Code extension release.
Activity
[analysis_server] Add syntax highlights for error/stackTrace in catch…
DanTup commentedon Jan 4, 2023
Fixed by dart-lang/sdk@792aede. This change is in the Dart analysis server so will ship with a future Dart/Flutter SDK release rather than show up in the VS Code extension release.