Skip to content

Commit 8762ed9

Browse files
committed
WIP
1 parent c981ad0 commit 8762ed9

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
@@ -23443,15 +23443,16 @@ \subsection{Same Type}
2344323443
%
2344423444
For both (1) and (2), if at least one of the function types is generic
2344523445
then they must both be generic,
23446-
and they must have textually identical type parameter declaration lists.
23447-
With this, the $j$th type parameter declaration from $S$ and from $T$
23446+
and they must have the same names of type parameters in the same order,
23447+
and with the same types as bounds.
23448+
When satisfying these requirements,
23449+
the $j$th type parameter declaration from $S$ and from $T$
2344823450
are considered to be the same declaration, for all $j \in 1 .. s$.
2344923451
\item There exists an alpha conversion of $S$ yielding $S'$, and
2345023452
$S'$ and $T$ are the same type.
2345123453
\commentary{%
23452-
This rule can be used to obtain
23453-
textually identical type parameter declaration lists,
23454-
if they only differ in the choice of naming.%
23454+
This rule can be used to obtain type parameter declaration lists
23455+
with the same names in the same order, as required in the previous item.%
2345523456
}
2345623457
\item (1) $S$ is of the form \code{$F$<$U_1$, \ldots\ $U_s$>} where $F$
2345723458
denotes a type alias declaration,

0 commit comments

Comments
 (0)