Skip to content

Commit ac4c475

Browse files
committed
.
1 parent f83defe commit ac4c475

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

compiler/src/dotty/tools/dotc/parsing/Scanners.scala

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1313,17 +1313,6 @@ object Scanners {
13131313
quoteCount
13141314
}
13151315

1316-
/** Parse dedented string content, with optional $ interpolation handling.
1317-
* This collects content until hitting $ (if interpolated) or closing delimiter.
1318-
* Respects the quote count for extended delimiters.
1319-
*
1320-
* @param quoteCount The number of quotes in the delimiter (3 for ''', 4 for '''', etc.)
1321-
* @param isInterpolated If true, handles $ expressions and returns STRINGPART tokens.
1322-
* If false, treats $ as regular content and returns STRINGLIT.
1323-
*
1324-
* Note: Interpolated strings do NOT dedent during parsing - dedenting must be handled
1325-
* at runtime after all parts are assembled. Non-interpolated strings dedent after collection.
1326-
*/
13271316
@tailrec private def getDedentedStringPartWithDelimiter(quoteCount: Int, isInterpolated: Boolean): Unit =
13281317
// Check for closing delimiter with correct quote count
13291318
if (ch == '\'') {

0 commit comments

Comments
 (0)