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 60e22f8 commit 4ef1bf7Copy full SHA for 4ef1bf7
compiler/src/dotty/tools/dotc/transform/ReifyQuotes.scala
@@ -81,7 +81,7 @@ class ReifyQuotes extends MacroTransformWithImplicits {
81
assert(Splicer.canBeSpliced(tree.qualifier))
82
case _ =>
83
}
84
- } else {
+ } else if (!tree.isInstanceOf[DefDef]) {
85
assert(tree.symbol != defn.QuotedExpr_~)
86
// assert(tree.symbol != defn.QuotedType_~) // TODO widen ~ type references at stage 0?
87
assert(tree.symbol != defn.QuotedExpr_apply)
0 commit comments