sdk
sdk copied to clipboard
Missing autocomplete/content assist in `when` clause of `switch`
Using Dart SDK version: 3.11.0-190.0.dev (dev) (Mon Dec 1 04:03:43 2025 -0800) on "windows_x64"
And given the following code:
void main() {
final a = switch (1) {
final foo =>
};
final b = switch (1) {
final foo when
};
}
If I use autocomplete after the => I get suggestions for foo.
But if I use autocomplete after the when there is no suggestion for foo.