Skip to content

Commit 1d2aa65

Browse files
committed
Merge pull request swiftlang#94 from Goles/patch-3
Fix Typos
2 parents 6dbf2ac + 4cfcb7b commit 1d2aa65

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/TypeChecker.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ for a enum element that has no extra data, or it can be ``T2 -> T0``,
383383
where ``T2`` is the data associated with the enum element. For the
384384
latter case, the actual arguments are parsed as part of the unresolved
385385
member reference, so that a function application constraint describes
386-
their conversion to the input tyoe ``T2``.
386+
their conversion to the input type ``T2``.
387387

388388
Polymorphic Types
389389
''''''''''''''''''''''''''''''''''''''''''''''
@@ -668,7 +668,7 @@ choices of the two systems are compared to produce a relative score:
668668
the other, the solution with the subtype earns +1.
669669

670670
- If an overload set has different selected overloads in the two
671-
soluions, the overloads are compared. If the type of the
671+
solutions, the overloads are compared. If the type of the
672672
overload picked in one solution is a subtype of the type of
673673
the overload picked in the other solution, then first solution earns
674674
+1.

0 commit comments

Comments
 (0)