Skip to content

Commit b991b40

Browse files
committed
Remove post-condition that is already checked by Staging
1 parent 7bd7c92 commit b991b40

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,6 @@ class PickleQuotes extends MacroTransform {
8787
assert(Inlines.inInlineMethod)
8888
case tree: Splice =>
8989
assert(Inlines.inInlineMethod)
90-
case tree: RefTree if !Inlines.inInlineMethod =>
91-
assert(tree.symbol != defn.QuotedTypeModule_of)
9290
case _ : TypeDef if !Inlines.inInlineMethod =>
9391
assert(!tree.symbol.hasAnnotation(defn.QuotedRuntime_SplicedTypeAnnot),
9492
s"${tree.symbol} should have been removed by PickledQuotes because it has a @quoteTypeTag")

0 commit comments

Comments
 (0)