We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3cbc635 commit 61165ccCopy full SHA for 61165cc
compiler/src/dotty/tools/dotc/staging/HealType.scala
@@ -66,7 +66,7 @@ class HealType(pos: SrcPos)(using Context) extends TypeMap {
66
/** Try to heal reference to type `T` used in a higher level than its definition.
67
* Returns a reference to a type tag generated by `QuoteTypeTags` that contains a
68
* 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`.
+ * Emits an error if `T` cannot be healed and returns `T`.
70
*/
71
protected def tryHeal(sym: Symbol, tp: TypeRef, pos: SrcPos): TypeRef = {
72
val reqType = defn.QuotedTypeClass.typeRef.appliedTo(tp)
0 commit comments