Skip to content

Commit

Permalink
Match expressions are not required to always be terminated by a semic…
Browse files Browse the repository at this point in the history
…olon (#4402)
  • Loading branch information
driade authored Jan 30, 2025
1 parent 5af24e4 commit e50047b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions language/control-structures/match.xml
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,9 @@ string(8) "Teenager"
</note>
<note>
<simpara>
A <literal>match</literal> expression <emphasis>must</emphasis> be
terminated by a semicolon <literal>;</literal>.
When a <literal>match</literal> expression is used as a standalone
expression it <emphasis>must</emphasis> be terminated
by a semicolon <literal>;</literal>.
</simpara>
</note>
</example>
Expand Down

0 comments on commit e50047b

Please sign in to comment.