Skip to content

Commit

Permalink
Clarify that computed-name-field works with readonly
Browse files Browse the repository at this point in the history
Fixes #1245.
  • Loading branch information
jclark committed Mar 30, 2024
1 parent 91f83ff commit 7abbc03
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lang/spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -5012,7 +5012,9 @@ <h4>Mapping constructor</h4>
mapping will be constructed with its read-only bit on. If the inherent type
makes a specific field readonly, then that field will be constructed with its
read-only bit on. A specific-field that starts with <code>readonly</code> will
also be constructed with its read-only bit on.
also be constructed with its read-only bit on. The read-only bit of the
mapping value or field will be set only after the mapping value has been fully
constructed, including any field specified by a computed-name-field.
</p>

</section>
Expand Down

0 comments on commit 7abbc03

Please sign in to comment.