@@ -1429,7 +1429,6 @@ \section{Variables}
14291429is a variable whose declaration includes the modifier \FINAL.
14301430
14311431
1432-
14331432\subsection{Implicitly Induced Getters and Setters}
14341433\LMLabel{implicitlyInducedGettersAndSetters}
14351434
@@ -2339,8 +2338,8 @@ \subsection{Formal Parameters}
23392338the formal parameter scope of $f$.
23402339
23412340\LMHash{}%
2342- It is a \Error{compile-time error} if a formal parameter
2343- is declared as a constant variable (\ref{variables}) .
2341+ It is a \Error{compile-time error} if a formal parameter declaration
2342+ has the modifier \CONST .
23442343% We put the following error here because it's shared among all kinds of
23452344% functions except one.
23462345It is a \Error{compile-time error} if an optional formal parameter
@@ -8642,7 +8641,7 @@ \subsection{Constants}
86428641 that is not qualified by a deferred prefix,
86438642 is a potentially constant and constant expression.
86448643 \commentary{%
8645- For example, if class $C$ declares a constant class variable $v$, !!!TODO!!!
8644+ For example, if class $C$ declares a static constant variable $v$,
86468645 \code{$C$.$v$} is a constant.
86478646 The same is true if $C$ is accessed via a prefix $p$;
86488647 \code{$p$.$C$.$v$} is a constant unless $p$ is a deferred prefix.%
@@ -18971,7 +18970,7 @@ \subsection{Local Variable Declaration}
1897118970Otherwise, the variable $v$ is bound to $o$.
1897218971
1897318972\LMHash{}%
18974- Let $D$ be a \LATE{} and \FINAL{} local variable declaration
18973+ Let $D$ be a \LATE{} and final local variable declaration
1897518974that declares a variable $v$.
1897618975If an object $o$ is assigned to $v$
1897718976in a situation where $v$ is unbound
@@ -19295,7 +19294,7 @@ \subsubsection{For-in}
1929519294It follows that it is a compile-time error
1929619295% The following error exists also in the case where \id{} is definitely
1929719296% unassigned before the loop: The loop could run >1 time.
19298- if $D$ is empty and \id{} is a final variable.
19297+ if $D$ is empty and \id{} is a final or constant variable.
1929919298Also, it is a dynamic error if $e$ has type \DYNAMIC,
1930019299but $e$ evaluates to an instance of a type
1930119300which is not a subtype of \code{Iterable<Object?>}.%
0 commit comments