File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
compiler/src/dotty/tools/dotc/parsing Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -1572,14 +1572,14 @@ object Parsers {
1572
1572
/** The block in a quote or splice */
1573
1573
def stagedBlock () = inBraces(block(simplify = true ))
1574
1574
1575
- /** ExprSplice ::= ‘$’ spliceId if inside quoted block
1576
- * | ‘$’ ‘{’ Block ‘}’) unless inside quoted pattern
1577
- * | ‘$’ ‘{’ Pattern ‘}’) when inside quoted pattern
1575
+ /** ExprSplice ::= ‘$’ id if inside quoted block
1576
+ * | ‘$’ ‘{’ Block ‘}’ unless inside quoted pattern
1577
+ * | ‘$’ ‘{’ Pattern ‘}’ when inside quoted pattern
1578
1578
*
1579
1579
* // Deprecated syntax
1580
- * TypeSplice ::= ‘$’ spliceId if inside quoted type
1581
- * | ‘$’ ‘{’ Block ‘}’) unless inside quoted pattern
1582
- * | ‘$’ ‘{’ Pattern ‘}’) when inside quoted pattern
1580
+ * TypeSplice ::= ‘$’ id if inside quoted type
1581
+ * | ‘$’ ‘{’ Block ‘}’ unless inside quoted type pattern
1582
+ * | ‘$’ ‘{’ Pattern ‘}’ when inside quoted type pattern
1583
1583
*/
1584
1584
def splice (isType : Boolean ): Tree =
1585
1585
val start = in.offset
You can’t perform that action at this time.
0 commit comments