Duplicate switch case value in dart:html #51754
Labels
area-core-library
SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.
area-web-js
Issues related to JavaScript support for Dart Web, including DDC, dart2js, and JS interop.
web-libraries
Issues impacting dart:html, etc., libraries
Trying to enable the full exhaustiveness checking flags an "unreachable switch case" warning in
dart:html
:The underlying problem is that
KeyCode.WIN_KEY_LEFT
andKeyCode.META
have the same integer value and the case ofKeyCode.META
occurs before the case forKeyCode.WIN_KEY_LEFT
.The text was updated successfully, but these errors were encountered: