Skip to content

Commit

Permalink
Specify how to treat ambigious trailing block statement
Browse files Browse the repository at this point in the history
  • Loading branch information
Veykril committed Aug 7, 2023
1 parent 96c347c commit 194d801
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/expressions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -670,6 +670,10 @@ An :t:`anonymous block expression` is a :t:`block expression` without a
A :t:`tail expression` is the last :t:`expression` within a :t:`block
expression`.

:dp:`fls_DfCne8YWevLE`
When the remaining :t:`[lexical element]s` of a :s:`StatementList` match either
an :s:`Expression` or :s:`Statement` they are interpreted as an :s:`Expression`.

:dp:`fls_u4gj2lnkq9ub`
The :t:`type` of a :t:`block expression` is determined as follows:

Expand Down

0 comments on commit 194d801

Please sign in to comment.