[extension types] Switch statement is not exhaustive on sealed class #54444
Labels
cfe-feature-cleanup
Feature work post release.
feature-extension-types
Implementation of the extension type feature
type-question
A question about expected behavior or functionality
Switch statement with the matched value an extension type with a dyrect subrtype of a sealed class as a representation type is not exhaustive. But similar switch expression is. Example
Is this expected or issue?
Tested on on
Dart SDK version: 3.3.0-edge.3e09072221b5fe4e8ea3d4fb69f120af8aa499cd (main) (Fri Dec 22 00:37:15 2023 +0000) on "linux_x64"
The text was updated successfully, but these errors were encountered: