You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But FormDirectives isn't a const, so you need a workaround like this:
directives: const[
const[ //XXX: workaround for FormDirectives not being const.
ControlGroupDirective,
ControlDirective,
CheckboxControlValueAccessor,
DefaultValueAccessor],
If]
Activity
[-]FormDirectives should be const[/-][+]FormDirectives should be const in Dart[/+]fix(forms): mark FormDirectives as const in Dart
fix(forms): export collection of form directives as const in Dart
fix(forms): export collection of form directives as const in Dart
fix(forms): export collection of form directives as const in Dart
naomiblack commentedon May 8, 2015
@mhevery I think this is closed now? Can you confirm?
pkozlowski-opensource commentedon May 8, 2015
Nope, there is a PR for this but its review is blocked on the decision on how to transpire const in Dart.
naomiblack commentedon May 8, 2015
This is blocked on #1648
mhevery commentedon May 8, 2015
Unblocked: dart-archive/ts2dart@2e02103 and @pkozlowski-opensource is working on merging it in.
fix(forms): export directives as const in Dart
angular-automatic-lock-bot commentedon Sep 6, 2019
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.