Skip to content

Commit da6d379

Browse files
committed
Improve doc
1 parent 782f57a commit da6d379

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

compiler/src/dotty/tools/dotc/transform/ReifyQuotes.scala

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -317,13 +317,14 @@ class ReifyQuotes extends MacroTransformWithImplicits {
317317
}
318318
}
319319

320-
/** Transforms the contents of a splice nested
320+
/** Transforms the contents of a nested splice
321+
* Assuming
321322
* '{
322323
* val x = ???
323324
* val y = ???
324325
* { ... '{ ... x .. y ... } ... }.unary_~
325326
* }
326-
*
327+
* then the spliced subexpression
327328
* { ... '{ ... x ... y ... } ... }
328329
* will be transformed to
329330
* (args: Seq[Any]) => {

0 commit comments

Comments
 (0)