Re-enable whereType after generic methods are turned on in all tools

The behavior of the new whereType method is silently broken on platforms that have not yet turned on generic methods (i.e. dart2js and the VM). We will make this method throw until generic methods are turned on.

See #32423 for context.

Once generic methods are turned on, we need to re-enable this.

Author: Fantashit

1 thought on “Re-enable whereType after generic methods are turned on in all tools

  1. Shouldn’t this have a milestone? I was surprised when using the Dart 2 documentation, which says this function exists, and then finding it broken.

Comments are closed.