Closed
Description
The current implementation of generic method syntax in the VM and dart2js treats generic type parameters as malformed types, which get mapped to dynamic
in some (but not all) contexts. In particular, they are not usable in is
or as
checks. In order to remove the comment syntax fully from strong mode, we will need an option in the VM and dart2js to enable a mode in which all uses of generic method parameters are mapped to dynamic
.