Extend strong mode "impossible cast" warnings to explicit casts #29547
Labels
area-language
Dart language related items (some items might be better tracked at github.com/dart-lang/language).
language-strong-mode-polish
Strong mode issues an error if a literal or an instance creation expression is implicitly cast to an incompatible type, since such a cast cannot possibly succeed in strong mode. We should consider issuing the same error on explicit casts .
cc @Hixie @lrhn @floitschG @eernstg @munificent
The text was updated successfully, but these errors were encountered: