@@ -197,7 +197,7 @@ trait QuotesAndSplices {
197
197
)
198
198
199
199
/** Split a typed quoted pattern is split into its type bindings, pattern expression and inner patterns.
200
- * Type definitions with `@patternBindHole ` will be inserted in the pattern expression for each type binding.
200
+ * Type definitions with `@patternType ` will be inserted in the pattern expression for each type binding.
201
201
*
202
202
* A quote pattern
203
203
* ```
@@ -208,7 +208,7 @@ trait QuotesAndSplices {
208
208
* (
209
209
* Map(<$t>: Symbol -> <$t @ _>: Bind),
210
210
* <'{
211
- * @scala.internal.Quoted.patternBindHole type $t
211
+ * @scala.internal.Quoted.patternType type $t
212
212
* scala.internal.Quoted.patternHole[List[$t]]
213
213
* }>: Tree,
214
214
* List(<ls: Expr[List[$t]]>: Tree)
@@ -366,7 +366,7 @@ trait QuotesAndSplices {
366
366
* ```
367
367
*
368
368
* For each type splice we will create a new type binding in the pattern match ($t @ _ in this case)
369
- * and a corresponding type in the quoted pattern as a hole (@patternBindHole type $t in this case).
369
+ * and a corresponding type in the quoted pattern as a hole (@patternType type $t in this case).
370
370
* All these generated types are inserted at the start of the quoted code.
371
371
*
372
372
* After typing the tree will resemble
@@ -388,7 +388,7 @@ trait QuotesAndSplices {
388
388
* (implicit t @ _, ls @ _: Expr[List[$t]]) // from the spliced patterns
389
389
* )(
390
390
* '{ // Runtime quote Matcher.unapply uses to mach against. Expression directly inside the quoted pattern without the splices
391
- * @scala.internal.Quoted.patternBindHole type $t
391
+ * @scala.internal.Quoted.patternType type $t
392
392
* scala.internal.Quoted.patternHole[List[$t]]
393
393
* },
394
394
* true, // If there is at least one type splice. Used to instantiate the context with or without GADT constraints
0 commit comments