@@ -26,7 +26,7 @@ private[quoted] object Matcher {
2626 if (hasTypeSplices) {
2727 implicit val ctx : Context = internal.Context_GADT_setFreshGADTBounds (rootContext)
2828 val matchings = scrutineeTerm.underlyingArgument =#= patternTerm.underlyingArgument
29- // After matching and doing all subtype check , we have to aproximate all the type bindings
29+ // After matching and doing all subtype checks , we have to aproximate all the type bindings
3030 // that we have found and seal them in a quoted.Type
3131 matchings.asOptionOfTuple.map { tup =>
3232 Tuple .fromArray(tup.toArray.map { // TODO improve performace
@@ -46,7 +46,7 @@ private[quoted] object Matcher {
4646 if (hasTypeSplices) {
4747 implicit val ctx : Context = internal.Context_GADT_setFreshGADTBounds (rootContext)
4848 val matchings = scrutineeTypeTree =#= patternTypeTree
49- // After matching and doing all subtype check , we have to aproximate all the type bindings
49+ // After matching and doing all subtype checks , we have to aproximate all the type bindings
5050 // that we have found and seal them in a quoted.Type
5151 matchings.asOptionOfTuple.map { tup =>
5252 Tuple .fromArray(tup.toArray.map { // TODO improve performace
@@ -75,8 +75,8 @@ private[quoted] object Matcher {
7575 }
7676
7777 private def isFromAboveAnnotation (tree : Tree ): Boolean = tree match {
78- case New (tpt) => tpt.symbol == internal.Definitions_InternalQuoted_formAboveAnnot
79- case annot => annot.symbol.owner == internal.Definitions_InternalQuoted_formAboveAnnot
78+ case New (tpt) => tpt.symbol == internal.Definitions_InternalQuoted_fromAboveAnnot
79+ case annot => annot.symbol.owner == internal.Definitions_InternalQuoted_fromAboveAnnot
8080 }
8181
8282 /** Check that all trees match with `mtch` and concatenate the results with && */
0 commit comments