@@ -1572,14 +1572,12 @@ object Parsers {
1572
1572
/** The block in a quote or splice */
1573
1573
def stagedBlock () = inBraces(block(simplify = true ))
1574
1574
1575
- /** ExprSplice ::= ‘$’ id if inside quoted block
1576
- * | ‘$’ ‘{’ Block ‘}’ unless inside quoted pattern
1577
- * | ‘$’ ‘{’ Pattern ‘}’ when inside quoted pattern
1578
- *
1579
- * // Deprecated syntax
1580
- * TypeSplice ::= ‘$’ id if inside quoted type
1581
- * | ‘$’ ‘{’ Block ‘}’ unless inside quoted type pattern
1582
- * | ‘$’ ‘{’ Pattern ‘}’ when inside quoted type pattern
1575
+ /** Splice ::= ‘$’ id if inside quoted block
1576
+ * | ‘$’ ‘{’ Block ‘}’ unless inside quoted pattern
1577
+ * | ‘$’ ‘{’ Pattern ‘}’ when inside quoted pattern
1578
+ * | ‘$’ id if inside quoted type // Deprecated syntax
1579
+ * | ‘$’ ‘{’ Block ‘}’ unless inside quoted type pattern // Deprecated syntax
1580
+ * | ‘$’ ‘{’ Pattern ‘}’ when inside quoted type pattern // Deprecated syntax
1583
1581
*/
1584
1582
def splice (isType : Boolean ): Tree =
1585
1583
val start = in.offset
@@ -1610,7 +1608,7 @@ object Parsers {
1610
1608
/** SimpleType ::= SimpleLiteral
1611
1609
* | ‘?’ SubtypeBounds
1612
1610
* | SimpleType1
1613
- * | SimpeType ‘(’ Singletons ‘)’ -- under language.experimental.dependent, checked in Typer
1611
+ * | SimpleType ‘(’ Singletons ‘)’ -- under language.experimental.dependent, checked in Typer
1614
1612
* Singletons ::= Singleton {‘,’ Singleton}
1615
1613
*/
1616
1614
def simpleType (): Tree =
@@ -1648,7 +1646,7 @@ object Parsers {
1648
1646
* | Singleton `.' type
1649
1647
* | ‘(’ ArgTypes ‘)’
1650
1648
* | Refinement
1651
- * | TypeSplice
1649
+ * | Splice
1652
1650
* | SimpleType1 TypeArgs
1653
1651
* | SimpleType1 `#' id
1654
1652
*/
@@ -2250,7 +2248,7 @@ object Parsers {
2250
2248
/** SimpleExpr ::= ‘new’ ConstrApp {`with` ConstrApp} [TemplateBody]
2251
2249
* | ‘new’ TemplateBody
2252
2250
* | BlockExpr
2253
- * | ExprSplice
2251
+ * | Splice
2254
2252
* | Quoted
2255
2253
* | quoteId
2256
2254
* | SimpleExpr1 [`_`]
0 commit comments