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 a135d9e commit 866b0cfCopy full SHA for 866b0cf
compiler/src/dotty/tools/dotc/transform/TreeChecker.scala
@@ -664,6 +664,7 @@ object TreeChecker {
664
assert(tree.tags.isEmpty, i"unexpected tags in Quote before staging phase: ${tree.tags}")
665
else
666
assert(!tree.body.isInstanceOf[untpd.Splice] || inInlineMethod, i"missed quote cancellation in $tree")
667
+ assert(!tree.body.isInstanceOf[untpd.Hole] || inInlineMethod, i"missed quote cancellation in $tree")
668
if StagingLevel.level != 0 then
669
assert(tree.tags.isEmpty, i"unexpected tags in Quote at staging level ${StagingLevel.level}: ${tree.tags}")
670
0 commit comments