Skip to content

Commit 61165cc

Browse files
Update compiler/src/dotty/tools/dotc/staging/HealType.scala
Co-authored-by: Natsu Kagami <[email protected]>
1 parent 3cbc635 commit 61165cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/staging/HealType.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ class HealType(pos: SrcPos)(using Context) extends TypeMap {
6666
/** Try to heal reference to type `T` used in a higher level than its definition.
6767
* Returns a reference to a type tag generated by `QuoteTypeTags` that contains a
6868
* reference to a type alias containing the equivalent of `${summon[quoted.Type[T]]}`.
69-
* Emits and error if `T` cannot be healed and returns `T`.
69+
* Emits an error if `T` cannot be healed and returns `T`.
7070
*/
7171
protected def tryHeal(sym: Symbol, tp: TypeRef, pos: SrcPos): TypeRef = {
7272
val reqType = defn.QuotedTypeClass.typeRef.appliedTo(tp)

0 commit comments

Comments
 (0)