Skip to content

perf(dart/transform): Restrict visibility/mutability of codegen#5009

Closed
kegluneq wants to merge 1 commit into
angular:masterfrom
kegluneq:generated_template_cleanup
Closed

perf(dart/transform): Restrict visibility/mutability of codegen#5009
kegluneq wants to merge 1 commit into
angular:masterfrom
kegluneq:generated_template_cleanup

Conversation

@kegluneq
Copy link
Copy Markdown

For exported, generated templates, declare with final so dart2js
knows they will never be reassigned.

For non-exported, generated change detector classes, prefix the
classname with _ to mark them as internal.

@kegluneq kegluneq added area: performance Issues related to performance action: review The PR is still awaiting reviews from at least one requested reviewer labels Oct 29, 2015
@kegluneq kegluneq force-pushed the generated_template_cleanup branch from a9f0eec to d7adb23 Compare October 29, 2015 19:30
For exported, generated templates, declare with `final` so `dart2js`
knows they will never be reassigned.

For non-exported, generated change detector classes, prefix the
classname with `_` to mark them as internal.
@kegluneq kegluneq force-pushed the generated_template_cleanup branch from d7adb23 to 47e9589 Compare October 29, 2015 19:34
@tbosch tbosch added pr_state: LGTM and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Oct 30, 2015
@mary-poppins
Copy link
Copy Markdown

Merging PR #5009 on behalf of @tbosch to branch presubmit-tbosch-pr-5009.

@tbosch tbosch added the action: merge The PR is ready for merge by the caretaker label Oct 30, 2015
@mary-poppins mary-poppins removed the action: merge The PR is ready for merge by the caretaker label Oct 30, 2015
@kegluneq kegluneq closed this in 45b33c5 Oct 30, 2015
@kegluneq kegluneq deleted the generated_template_cleanup branch October 30, 2015 22:14
@angular-automatic-lock-bot
Copy link
Copy Markdown

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.

@angular-automatic-lock-bot angular-automatic-lock-bot Bot locked and limited conversation to collaborators Sep 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area: performance Issues related to performance cla: yes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants