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
On sdk>=2.0 there should be a hint/error for things like:
voidmain() {
List<String> l1 =List<void>(); // should be an error because it's an error at runtimeList<String> l2 =<void>[]; // strangely there's already an error todayList<dynamic> l3 =List<void>(); // OK for dynamic
}
The text was updated successfully, but these errors were encountered:
Also will drop in to say that this was intended to be illegal by dart 2 with "voidness preservation" (basically a form of illegal implicit downcasts that was on by default but limited to this case). Unfortunately we didn't have time to land it, but it may get a lint or be in dart 3.
On sdk>=2.0 there should be a hint/error for things like:
The text was updated successfully, but these errors were encountered: