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 {
15721572 /** The block in a quote or splice */
15731573 def stagedBlock () = inBraces(block(simplify = true ))
15741574
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
15781578 *
15791579 * // 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
15831583 */
15841584 def splice (isType : Boolean ): Tree =
15851585 val start = in.offset
You can’t perform that action at this time.
0 commit comments