dart2js does not accept values of type Symbol in switch and const map keys #21825
Labels
area-web-js
Issues related to JavaScript support for Dart Web, including DDC, dart2js, and JS interop.
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
web-dart2js
This issue was originally filed by @mhausner
The spec has been updated to allow Symbol literals in switch statements and as key values in const maps.
See also issue #15445.
tests/language/symbol_literal_test.dart
The text was updated successfully, but these errors were encountered: