Skip to content

Commit 0fd12c5

Browse files
committed
WIP
1 parent 724bff7 commit 0fd12c5

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

specification/dartLangSpec.tex

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23495,15 +23495,16 @@ \subsection{Same Type}
2349523495
%
2349623496
For both (1) and (2), if at least one of the function types is generic
2349723497
then they must both be generic,
23498-
and they must have textually identical type parameter declaration lists.
23499-
With this, the $j$th type parameter declaration from $S$ and from $T$
23498+
and they must have the same names of type parameters in the same order,
23499+
and with the same types as bounds.
23500+
When satisfying these requirements,
23501+
the $j$th type parameter declaration from $S$ and from $T$
2350023502
are considered to be the same declaration, for all $j \in 1 .. s$.
2350123503
\item There exists an alpha conversion of $S$ yielding $S'$, and
2350223504
$S'$ and $T$ are the same type.
2350323505
\commentary{%
23504-
This rule can be used to obtain
23505-
textually identical type parameter declaration lists,
23506-
if they only differ in the choice of naming.%
23506+
This rule can be used to obtain type parameter declaration lists
23507+
with the same names in the same order, as required in the previous item.%
2350723508
}
2350823509
\item (1) $S$ is of the form \code{$F$<$U_1$, \ldots\ $U_s$>} where $F$
2350923510
denotes a type alias declaration,

0 commit comments

Comments
 (0)