fix(Dart): make some playground samples run with Dart Dev Compiler

Resolve all invalid field override errors, workaround current
reflection limitations in Dart Dev Compiler. todo, hello_world and
key_events samples now work with Dart Dev Compiler.

BREAKING CHANGE: remove TemplateRef.elementRef setter

Closes #6441
This commit is contained in:
Jacob Richman
2016-01-12 16:38:36 -08:00
parent a4b5cb8376
commit 3e65d1458e
6 changed files with 18 additions and 12 deletions

View File

@ -225,7 +225,7 @@ class _CodegenState {
List<String> codes = [];
_endOfBlockIdxs.clear();
ListWrapper.forEachWithIndex(eb.records, (r, i) {
ListWrapper.forEachWithIndex(eb.records, (_, i) {
var code;
var r = eb.records[i];