You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The matched value of type 'Point' isn't assignable to the required type '({Object? x, Object? y})'.
Try changing the required type of the pattern, or the matched value type.dart(pattern_type_mismatch_in_irrefutable_context)
The text was updated successfully, but these errors were encountered:
There was a point in time when the proposal did allow the name to be inferred, yes. But we removed that because it broke being able to actually match a record object in places where the matched value is a supertype of Record. I would very much like to get it back (#2563) but we won't in time for 3.0.
Tried this:
Got:
The text was updated successfully, but these errors were encountered: