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
My understanding is you can pass extension types as generic arguments just fine. If you have a List<Int64>, the runtime type will be List<int> on the platforms where Int64 is an extension type, List<Int64> on others.
My understanding is you can pass extension types as generic arguments just fine. If you have a List<Int64>, the runtime type will be List<int> on the platforms where Int64 is an extension type, List<Int64> on others.
This is true, but _FieldSet.values is a List<dynamic>.
In dart-lang/fixnum#117 we make
Int64
class a wrapper aroundint
on platforms that support 64-bitint
s (VM, AOT, Wasm).With extension classes we should also make the new wrapper class an extension class to eliminate the indirection to the actual
int
value.This will be a breaking change as this new native
Int64
extension class won't have a runtime type.The text was updated successfully, but these errors were encountered: