Files
sdk/pkg/analyzer/tool
Sam Rawlins 6a798e489e Broaden text for AMBIGUOUS_SET_OR_MAP_LITERAL_BOTH
Take this example, which includes no spreads:

```dart
f() {
  return {
    'a',
    'b': 'c',
  };
}
```

This produces the AMBIGUOUS_SET_OR_MAP_LITERAL_BOTH diagnostic.

Bug: https://github.com/dart-lang/sdk/issues/45950
Change-Id: I272519c15591d835aa6d390523a730dbc4259448
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/199060
Reviewed-by: Kathy Walrath <kathyw@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Samuel Rawlins <srawlins@google.com>
2021-06-07 23:13:03 +00:00
..