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

Commit 0ebb49f

Browse files
committed
fix(mirror): added missing mirrors declarations
1 parent 45bb8c6 commit 0ebb49f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

lib/change_detection/dirty_checking_change_detector_dynamic.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export 'package:angular/change_detection/change_detection.dart' show
77
/**
88
* We are using mirrors, but there is no need to import anything.
99
*/
10-
@MirrorsUsed(targets: const [], metaTargets: const [])
10+
@MirrorsUsed(targets: const [ DynamicFieldGetterFactory ], metaTargets: const [] )
1111
import 'dart:mirrors';
1212

1313
class DynamicFieldGetterFactory implements FieldGetterFactory {

lib/core/parser/parser_dynamic.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
library angular.core.parser_dynamic;
22

3-
import 'package:angular/core/parser/parser.dart';
3+
@MirrorsUsed(targets: const [ DynamicClosureMap ], metaTargets: const [] )
44
import 'dart:mirrors';
5+
import 'package:angular/core/parser/parser.dart';
56

67
class DynamicClosureMap implements ClosureMap {
78
final Map<String, Symbol> symbols = {};

0 commit comments

Comments
 (0)