-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow public fields with the
@final
JsDoc to be assigned once insid…
…e a constructor. Originally, the `CheckAccessControls` pass did not support field assignment inside of a constructor and would throw the `JSC_FINAL_PROPERTY_OVERRIDEN` error. We now allow unassigned public fields with the `@final` JsDoc to be assigned once in the constructor. Allowing public fields to be recognized puts the team closer to flipping the flag to turn on public fields for google3. PiperOrigin-RevId: 553601386
- Loading branch information
1 parent
4a040b4
commit 6e98e56
Showing
2 changed files
with
63 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters