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