3cce6fc8d6
This CL changes the static checks and runtime behavior of Pointer<T>.store<T>(T v) and T Pointer<T>.load() behavior to be consistent with the way Dart handles instances methods with generics. For more details see the issue. Fixes: https://github.com/dart-lang/sdk/issues/37254 Change-Id: Ifcf89646f8e357d8592c38bb340942d522dac941 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/107404 Commit-Queue: Daco Harkes <dacoharkes@google.com> Reviewed-by: Martin Kustermann <kustermann@google.com>