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 @@ -1574,14 +1574,14 @@ object Parsers {
1574
1574
/** The block in a quote or splice */
1575
1575
def stagedBlock () = inBraces(block(simplify = true ))
1576
1576
1577
- /** ExprSplice ::= ‘$’ spliceId if inside quoted block
1578
- * | ‘$’ ‘{’ Block ‘}’) unless inside quoted pattern
1579
- * | ‘$’ ‘{’ Pattern ‘}’) when inside quoted pattern
1577
+ /** ExprSplice ::= ‘$’ id if inside quoted block
1578
+ * | ‘$’ ‘{’ Block ‘}’ unless inside quoted pattern
1579
+ * | ‘$’ ‘{’ Pattern ‘}’ when inside quoted pattern
1580
1580
*
1581
1581
* // Deprecated syntax
1582
- * TypeSplice ::= ‘$’ spliceId if inside quoted type
1583
- * | ‘$’ ‘{’ Block ‘}’) unless inside quoted pattern
1584
- * | ‘$’ ‘{’ Pattern ‘}’) when inside quoted pattern
1582
+ * TypeSplice ::= ‘$’ id if inside quoted type
1583
+ * | ‘$’ ‘{’ Block ‘}’ unless inside quoted type pattern
1584
+ * | ‘$’ ‘{’ Pattern ‘}’ when inside quoted type pattern
1585
1585
*/
1586
1586
def splice (isType : Boolean ): Tree =
1587
1587
val start = in.offset
You can’t perform that action at this time.
0 commit comments