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
Context: I found many usages of class Rectangle<T extends num> with the non-generic raw type Rectangle. Seems like it's treated by strong-mode as Rectangle<dynamic>, while it would seem it could / should be Rectangle<num>:
import'dart:math';
foo(Rectangle r) =>bar(r);
// ^// [error] Unsound implicit cast from Rectangle<dynamic> to Rectangle<num>bar(Rectangle<num> r) =>null;