no type error when one side of a conditional expression is the wrong type #27753
Labels
area-language
Dart language related items (some items might be better tracked at github.com/dart-lang/language).
In DartPad, there is no type error for this code, even in strong mode:
It seems like it should be an error to assign a boolean to a string.
The text was updated successfully, but these errors were encountered: