Skip to content

Commit f0a1f2e

Browse files
committed
Update step 2.2.1 of Merge Node Maps to exclude @type from copied values, leaving it to 2.2.2.
Fixes #407.
1 parent 8299e26 commit f0a1f2e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

index.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4647,7 +4647,7 @@ <h3>Algorithm</h3>
46474647
with a new <a>map</a> consisting of a single <a>entry</a> <code>@id</code> whose value is <var>id</var>, if it does not exist.</li>
46484648
<li>For each <var>property</var> and <var>values</var> in <var>node</var>:
46494649
<ol>
4650-
<li>If <var>property</var> is a <a>keyword</a>, add <var>property</var> and values to <var>merged node</var>.</li>
4650+
<li id='alg-merge-node-maps-2_2_1'>If <var>property</var> is a <a>keyword</a> <span class="changed">other than `@type`</span>, add <var>property</var> and values to <var>merged node</var>.</li>
46514651
<li>Otherwise, merge each element from <var>values</var> into the values for <var>property</var>
46524652
in <var>merged node</var>, initializing it to an empty <a>array</a> if necessary.</li>
46534653
</ol>
@@ -6981,6 +6981,10 @@ <h2>Changes since Candidate Release of 05 March 2020</h2>
69816981
<a href="#compaction-algorithm">Compaction Algorithm</a>
69826982
to add values to <var>nest result</var> instead of <var>result</var>
69836983
as was originally intended.</li>
6984+
<li>Update step <a href="#alg-merge-node-maps-2_2_1">2.2.1</a>
6985+
of <a href="#merge-node-maps" class="sectionRef"></a> to
6986+
exclude `@type`, leaving it to the next step.
6987+
This could cause type values from a node to be left out of the merge.</li>
69846988
</ul>
69856989
</section>
69866990
<section id="ack"

0 commit comments

Comments
 (0)