This repository was archived by the owner on Feb 22, 2018. It is now read-only.
This repository was archived by the owner on Feb 22, 2018. It is now read-only.
Statically type check "generic" methods #300
Closed
Description
We need to be able to statically type check methods such as Iterable.map. E.g., this should not trigger a warning:
Iterable<int> incr(Iterable<int> iter) => iter.map((int x) => x + 1);
Initially, we can annotate / whitelist methods that should be treated as generic.
See #28 for general bug on generic methods.