Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

consider providing auto-fixing tools for some specific cases #17

Closed
sigmundch opened this issue Jan 6, 2015 · 1 comment
Closed

consider providing auto-fixing tools for some specific cases #17

sigmundch opened this issue Jan 6, 2015 · 1 comment

Comments

@sigmundch
Copy link
Contributor

Some cases that could easily involve a quick-fix:

  • inferrable overrides: subclass left out the return type of a method or getter, suggest the type in the superclass, example:
  /*suggest: String*/ toString() => 'foo';
  • operator == overrides:
operator ==(T t) => ...
/* suggest: operator ==(t) => t is T && ... */

Let's add more examples to this issue as we discover them...

@jmesserly
Copy link
Contributor

we ended up using member inference instead

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

2 participants