|
14 | 14 | \makeindex |
15 | 15 | \title{Dart Programming Language Specification\\ |
16 | 16 | {6th edition draft}\\ |
17 | | -{\large Version 2.15-dev}} |
| 17 | +{\large Version 2.13-dev}} |
18 | 18 | \author{} |
19 | 19 |
|
20 | 20 | % For information about Location Markers (and in particular the |
|
26 | 26 | % |
27 | 27 | % Significant changes to the specification. |
28 | 28 | % |
| 29 | +% Note that the version numbers used below (up to 2.15) were associated with |
| 30 | +% the currently released language and tools at the time of the spec change, |
| 31 | +% they were not aligned with the actual version of the language which is being |
| 32 | +% specified in that version of this document. This is highly misleading, so we |
| 33 | +% changed the subtitles to be a month rather than a version number. Similarly, |
| 34 | +% the 'Version' specified on the front page has been changed to indicate the |
| 35 | +% version of the language which will actually be specified by the next stable |
| 36 | +% release of this document. |
| 37 | +% |
| 38 | +% Dec 2022 |
| 39 | +% - Change the definition of the type function 'flatten' to resolve soundness |
| 40 | +% issue, cf. SDK issue #49396. |
| 41 | +% |
29 | 42 | % 2.15 |
30 | 43 | % - Allow generic instantiation of expressions with a generic function type |
31 | 44 | % (until now, it was an error unless the expression denoted a declaration). |
@@ -11268,11 +11281,11 @@ \subsection{Function Expressions} |
11268 | 11281 | which is used below and in other sections, as follows: |
11269 | 11282 |
|
11270 | 11283 | \begin{itemize} |
11271 | | -\item{} If $T$ is \code{$S$?}\ for some $S$ |
11272 | | - then \DefEquals{\flatten{T}}{\code{\flatten{S}?}}. |
| 11284 | +\item{} If $T$ is \code{$S$?}\ bounded |
| 11285 | + (\ref{bindingActualsToFormals}) |
| 11286 | + for some $S$ then \DefEquals{\flatten{T}}{\code{\flatten{S}?}}. |
11273 | 11287 |
|
11274 | 11288 | \item{} If $T$ is \code{FutureOr<$S$>} bounded |
11275 | | - (\ref{bindingActualsToFormals}) |
11276 | 11289 | then \DefEquals{\flatten{T}}{S}. |
11277 | 11290 |
|
11278 | 11291 | \item{} If $T$ implements \code{Future<$S$>} |
|
0 commit comments