Skip to content

Commit 955256f

Browse files
committed
Merge pull request scala#4022 from retronym/ticket/8870
SI-8870 Fix markup errors in the Types section of the spec
2 parents 02d0dd0 + fc874ad commit 955256f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

spec/03-types.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -864,15 +864,15 @@ transitive relation that satisfies the following conditions.
864864
if $T$ conforms to one of the [type instances](#existential-types)
865865
of `$U$ forSome {$\,Q\,$}`.
866866
- If
867-
$T_i \equiv T'_i$ for $i \in \{ 1 , \ldots , n\}$ and $U$ conforms to $U'$
867+
$T_i \equiv T_i'$ for $i \in \{ 1 , \ldots , n\}$ and $U$ conforms to $U'$
868868
then the method type $(p_1:T_1 , \ldots , p_n:T_n) U$ conforms to
869-
$(p'_1:T'_1 , \ldots , p'_n:T'_n) U'$.
869+
$(p_1':T_1' , \ldots , p_n':T_n') U'$.
870870
- The polymorphic type
871871
$[a_1 >: L_1 <: U_1 , \ldots , a_n >: L_n <: U_n] T$ conforms to the
872872
polymorphic type
873-
$[a_1 >: L'_1 <: U'_1 , \ldots , a_n >: L'_n <: U'_n] T'$ if, assuming
874-
$L'_1 <: a_1 <: U'_1 , \ldots , L'_n <: a_n <: U'_n$
875-
one has $T <: T'$ and $L_i <: L'_i$ and $U'_i <: U_i$
873+
$[a_1 >: L_1' <: U_1' , \ldots , a_n >: L_n' <: U_n'] T'$ if, assuming
874+
$L_1' <: a_1 <: U_1' , \ldots , L_n' <: a_n <: U_n'$
875+
one has $T <: T'$ and $L_i <: L_i'$ and $U_i' <: U_i$
876876
for $i \in \{ 1 , \ldots , n \}$.
877877
- Type constructors $T$ and $T'$ follow a similar discipline. We characterize
878878
$T$ and $T'$ by their type parameter clauses

0 commit comments

Comments
 (0)