angular.dart icon indicating copy to clipboard operation
angular.dart copied to clipboard

Outdated comment @MirrorsUsed in application_factory.dart

Open vmendi opened this issue 12 years ago • 2 comments

This is what it says:

/**
 * If you are writing code accessed from Angular expressions, you must include
 * your own @MirrorsUsed annotation or ensure that everything is tagged with
 * the Ng annotations.
 *
 * All programs should also include a @MirrorsUsed(override: '*') which
 * tells the compiler that only the explicitly listed libraries will
 * be reflected over.
 *
 * This is a short-term fix until we implement a transformer-based solution
 * which does not rely on mirrors.
 */

If I'm not mistaken this is already resolved with the current transformers.

vmendi avatar Nov 01 '14 20:11 vmendi

@vicb can you take a look at this? Is it simply a doc change?

naomiblack avatar Dec 09 '14 22:12 naomiblack

@vmendi is right here. We use mirrors only in the dev environment. In production env, we'll use the getters generated by the transformer.

vicb avatar Dec 10 '14 19:12 vicb