Skip to content

Commit 54a4c50

Browse files
committed
WIP
1 parent 6415e99 commit 54a4c50

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
@@ -23502,15 +23502,16 @@ \subsection{Same Type}
2350223502
%
2350323503
For both (1) and (2), if at least one of the function types is generic
2350423504
then they must both be generic,
23505-
and they must have textually identical type parameter declaration lists.
23506-
With this, the $j$th type parameter declaration from $S$ and from $T$
23505+
and they must have the same names of type parameters in the same order,
23506+
and with the same types as bounds.
23507+
When satisfying these requirements,
23508+
the $j$th type parameter declaration from $S$ and from $T$
2350723509
are considered to be the same declaration, for all $j \in 1 .. s$.
2350823510
\item There exists an alpha conversion of $S$ yielding $S'$, and
2350923511
$S'$ and $T$ are the same type.
2351023512
\commentary{%
23511-
This rule can be used to obtain
23512-
textually identical type parameter declaration lists,
23513-
if they only differ in the choice of naming.%
23513+
This rule can be used to obtain type parameter declaration lists
23514+
with the same names in the same order, as required in the previous item.%
2351423515
}
2351523516
\item (1) $S$ is of the form \code{$F$<$U_1$, \ldots\ $U_s$>} where $F$
2351623517
denotes a type alias declaration,

0 commit comments

Comments
 (0)