-
Notifications
You must be signed in to change notification settings - Fork 340
Closed
dart-lang/tools
#2090Description
Describe the bug
Running Dart SDK tests (use defineReflectiveSuite) and then using the context menu on a specific test to "Go to test" actually moves to defineReflectiveSuite line rather than the test line.
To Reproduce
- Open
pkg/analysis_server/test/src/services/correction/assist/convert_to_switch_statement_test.dart - Run all tests
- Use the context menu on any test to "Go to test"
Expected behavior
I expected it to move to the right test.
Please complete the following information:
Workspace Environment
Dart Code extension: 3.109.20250404
Flutter extension: 3.109.20250401 (activated)
App: Visual Studio Code
App Host: desktop
Version: win 1.99.0
Workspace type: Dart (LSP) (Multiroot)
Workspace name: sdk (Workspace)
Dart (3.8.0-edge.82282b6287104d125e82172199a8d6b070102354): C:\Users\felip_0vh5fa6\dart
Flutter (3.29.2): C:\Users\felip_0vh5fa6\.puro\envs\stable\flutter (No device)
Output from 'dart info'
C:\Users\felip_0vh5fa6\dart\bin\dart.exe info
If providing this information as part of reporting a bug, please review the information
below to ensure it only contains things you're comfortable posting publicly.
General info
- Dart 3.8.0-edge.82282b6287104d125e82172199a8d6b070102354 (main) (Wed Apr 2 01:52:18 2025 -0700) on "windows_x64"
- on windows / "Windows 11 Pro" 10.0 (Build 26100)
- locale is pt-BR
Project info
- sdk constraint: '^3.7.0'
- dependencies: _fe_analyzer_shared, analysis_server_plugin, analyzer, analyzer_plugin, args, collection, convert, crypto, dart_style, dtd, http, json_rpc_2, language_server_protocol, linter, memory_usage, meta, path, pub_semver, stream_channel, telemetry, unified_analytics, vm_service, watcher, yaml, yaml_edit
- dev_dependencies: analyzer_utilities, cli_util, lints, logging, matcher, test, test_descriptor, test_reflective_loader, web_socket_channel
Process info
| Memory | CPU | Elapsed time | Command line |
|---|---|---|---|
| 0 MB | -- | dart.exe | |
| 0 MB | -- | dart.exe | |
| 0 MB | -- | dart.exe | |
| 0 MB | -- | dart.exe | |
| 0 MB | -- | dart.exe | |
| 0 MB | -- | dart.exe | |
| 0 MB | -- | dart.exe | |
| 0 MB | -- | dart.exe | |
| 0 MB | -- | dart.exe | |
| 0 MB | -- | dart.exe | |
| 0 MB | -- | dart.exe |