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
{{ message }}
This repository was archived by the owner on Sep 16, 2022. It is now read-only.
See the error? Well, Module.provide only takes a List<Provider>, but is being passed a List<Object> (or is it List<dynamic>?). This passes type-checking during build-time (and DDC runtime), but will fail in Dart2JS - and will fail otherwise in our actual framework code, because I assume every element is a Provider.
I think this is due to List currently being a white-listed "skip checks on me", thing. The CFE has no such concept, and Dart2JS with --preview-dart-2, will fail.
The text was updated successfully, but these errors were encountered:
As hit internally:
See the error? Well,
Module.provide
only takes aList<Provider>
, but is being passed aList<Object>
(or is itList<dynamic>
?). This passes type-checking during build-time (and DDC runtime), but will fail in Dart2JS - and will fail otherwise in our actual framework code, because I assume every element is aProvider
.I think this is due to
List
currently being a white-listed "skip checks on me", thing. The CFE has no such concept, andDart2JS
with--preview-dart-2
, will fail.The text was updated successfully, but these errors were encountered: