Exhaustivity fails on Result<T, E>
with Ok<T>
and Err<E>
where the other generic is Never
#60260
Labels
area-dart-model
Use area-dart-model for issues related to packages analyzer, front_end, and kernel.
model-exhaustiveness
Implementation of exhaustiveness checking
Using the following sealed class
See the following:
I think there was an issue about this prior, but I can't seem to find it, so I'll make it here.
I noticed this issue as I was messing around with
Result<T>
and wanted to try specifying the specific error typeThe text was updated successfully, but these errors were encountered: