Refactor names inside a template for Polymer.dart #15867
Labels
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
closed-not-planned
Closed as we don't intend to take action on the reported issue
type-enhancement
A request for a change that isn't a bug
If I refactor rename the name of a click handler in my Dart code, it should also rename the handler name in my HTML. e.g.:
HTML code:
<button id="change-it" data-action="click:changeIt">Change</button>
Dart code:
changeIt(e) => superlative = alternatives[random.nextInt(3)];
if I refactor 'changeIt' in Dart, it should also update the HTML.
Hope that helps!
See also https://code.google.com/p/dart/issues/detail?id=6674
The text was updated successfully, but these errors were encountered: