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

@ -25,7 +25,7 @@ export abstract class TemplateRef {
*
*/
// TODO(i): rename to anchor or location
elementRef: ElementRef;
get elementRef(): ElementRef { return null; }
}
export class TemplateRef_ extends TemplateRef {