We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e75cafe commit 9214daaCopy full SHA for 9214daa
compiler/src/dotty/tools/dotc/core/tasty/TreePickler.scala
@@ -666,7 +666,7 @@ class TreePickler(pickler: TastyPickler) {
666
pickleTree(alias)
667
}
668
case tree @ Quote(body) =>
669
- // Add QUOTE tag to TASTy
+ // TODO: Add QUOTE tag to TASTy
670
assert(body.isTerm,
671
"""Quote with type should not be pickled.
672
|Quote with type should only exists after staging phase at staging level 0.""".stripMargin)
@@ -678,7 +678,7 @@ class TreePickler(pickler: TastyPickler) {
678
.withSpan(tree.span)
679
)
680
case Splice(expr) =>
681
- pickleTree( // Add SPLICE tag to TASTy
+ pickleTree( // TODO: Add SPLICE tag to TASTy
682
// scala.quoted.runtime.Expr.splice[<tree.tpe>](<expr>)
683
ref(defn.QuotedRuntime_exprSplice)
684
.appliedToType(tree.tpe)
0 commit comments