Skip to content

Commit 63d2a6d

Browse files
committed
Typo
1 parent 6848e5d commit 63d2a6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

accepted/future-releases/constructor-tearoffs/feature-specification.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ The grammar changes necessary for these changes are provided separately (as [cha
517517

518518
### Constant expressions
519519

520-
We add the following to the set of expressions that are potentially constant and constant:
520+
We add the following to the set of expressions that are potentially constant or constant:
521521

522522
If `e` is a potentially constant expression derived from <code>\<primary> \<selector>*</code> and <code>T<sub>1</sub>..T<sub>k</sub></code> derived from <code>\<typeList></code> is a list of potentially constant type expressions, then <code>e\<T<sub>1</sub>..T<sub>k</sub>></code> is a potentially constant expression.
523523
If moreover `e` is a constant expression whose static type is a function type `F` or `e` is a type literal, and <code>T<sub>1</sub>..T<sub>k</sub></code> is a list of constant type expressions, then <code>e\<T<sub>1</sub>..T<sub>k</sub>></code> is a constant expression.

0 commit comments

Comments
 (0)