Skip to content

Analyzer support for Dart 1.50 non strong mode generic methods. #27641

Closed
@leafpetersen

Description

@leafpetersen

We have an informal specification for Dart 1.50 generic methods here:

https://docs.google.com/document/d/1nccOSkdSyB9ls7TD8gUqIu6Wl2J_9bTSOoMCEIoAiQI/edit#heading=h.dnanv15dn1me

The analyzer should remove the partial support for error checking on generic methods (or make them into hints as warranted).

The only static errors for Dart 1.5 non strong mode generic methods are syntax errors, and errors for using a generic method parameter for an is check as in x is T, or as a type literal.

Metadata

Metadata

Assignees

Labels

P2A bug or feature request we're likely to work onlegacy-area-analyzerUse area-devexp instead.type-bugIncorrect behavior (everything from a crash to more subtle misbehavior)

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions