Skip to content

Commit 9214daa

Browse files
Apply suggestions from code review
Co-authored-by: Guillaume Martres <[email protected]>
1 parent e75cafe commit 9214daa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/src/dotty/tools/dotc/core/tasty/TreePickler.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -666,7 +666,7 @@ class TreePickler(pickler: TastyPickler) {
666666
pickleTree(alias)
667667
}
668668
case tree @ Quote(body) =>
669-
// Add QUOTE tag to TASTy
669+
// TODO: Add QUOTE tag to TASTy
670670
assert(body.isTerm,
671671
"""Quote with type should not be pickled.
672672
|Quote with type should only exists after staging phase at staging level 0.""".stripMargin)
@@ -678,7 +678,7 @@ class TreePickler(pickler: TastyPickler) {
678678
.withSpan(tree.span)
679679
)
680680
case Splice(expr) =>
681-
pickleTree( // Add SPLICE tag to TASTy
681+
pickleTree( // TODO: Add SPLICE tag to TASTy
682682
// scala.quoted.runtime.Expr.splice[<tree.tpe>](<expr>)
683683
ref(defn.QuotedRuntime_exprSplice)
684684
.appliedToType(tree.tpe)

0 commit comments

Comments
 (0)