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
/tmp/qwerty3.dart:3:14: Error: Variable pattern 'y' doesn't have the same type or finality in all cases.
case int y:
^
The preferable way is to report the error on the first use of the joint variable, similarly to the Analyzer.
Analyzing /tmp/qwerty3.dart...
error • The variable 'y' doesn't have the same type and/or finality in all cases that share this body. • /tmp/qwerty3.dart:5:14 • invalid_pattern_variable_in_shared_case_scope
1 error found.
The following is the example of the affected tests.
Currently the CFE reports the mismatching pattern variables errors on the first of the mismatching variables:
The preferable way is to report the error on the first use of the joint variable, similarly to the Analyzer.
The following is the example of the affected tests.
The text was updated successfully, but these errors were encountered: