Skip to content

Commit

Permalink
fix(ivy): do not use MSG_ prefix for i18nPostprocess invocation (FW-7…
Browse files Browse the repository at this point in the history
…79) (angular#27468)

Closure Compiler doesn't allow non-goo.getMsg const names to start with `MSG_`, so we should use different prefix for const that references a result of the `i18nPostprocess` fn invocation. With this update we also append file-based prefix to i18n constants (via $$ postfix) to ensure the names are unique across codebase of a project (otherwise it might lead to errors while compiling a project with Closure Compiler).

PR Close angular#27468
  • Loading branch information
AndrewKushnir authored and mhevery committed Dec 13, 2018
1 parent 44dfa60 commit fdf3998
Show file tree
Hide file tree
Showing 4 changed files with 226 additions and 193 deletions.

0 comments on commit fdf3998

Please sign in to comment.