Skip to content

Commit

Permalink
[Automated] Update spec in master
Browse files Browse the repository at this point in the history
  • Loading branch information
ballerina-bot committed Mar 27, 2024
1 parent 65bf1e1 commit ab45275
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec/lang/master/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10147,6 +10147,9 @@ <h3 id="lock_statement">7.22 Lock statement</h3>
directly or indirectly in a call to that defined function.
</p>
<p>
It is a compile-time error if a lock-stmt contains a sync-send-action or a receive-action.
</p>
<p>
There are two cases where a variable is restricted to be used only within a
lock statement:
</p>
Expand Down Expand Up @@ -14483,6 +14486,7 @@ <h3 id="section_B.1">B.1 Summary of changes from 2023R1 to 2024R1</h3>
<li>Isolated inference can infer <code>isolated</code> for an object constructor expression.</li>
<li>A query-select-expr can construct a stream without explicitly specififying
the <code>stream</code> keyword.</li>
<li>It is no longer allowed for a lock statement to contain a sync-send-action or a receive-action.</li>
</ol>
</section>
<section>
Expand Down
4 changes: 4 additions & 0 deletions spec/lang/master/spec.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9627,6 +9627,9 @@ there is a function call lexically within the lock-stmt that might result
directly or indirectly in a call to that defined function.
</p>
<p>
It is a compile-time error if a lock-stmt contains a sync-send-action or a receive-action.
</p>
<p>
There are two cases where a variable is restricted to be used only within a
lock statement:
</p>
Expand Down Expand Up @@ -13988,6 +13991,7 @@ public isolated function last(Type v, Type... vs) returns Type = external;
<li>Isolated inference can infer <code>isolated</code> for an object constructor expression.</li>
<li>A query-select-expr can construct a stream without explicitly specififying
the <code>stream</code> keyword.</li>
<li>It is no longer allowed for a lock statement to contain a sync-send-action or a receive-action.</li>
</ol>
</section>
<section>
Expand Down

0 comments on commit ab45275

Please sign in to comment.