Skip to content

Commit cc54d41

Browse files
committed
Disable spourious containsQuotesOrSplices = true
1 parent 2a4e8cf commit cc54d41

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

compiler/src/dotty/tools/dotc/typer/Typer.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1074,7 +1074,6 @@ class Typer extends Namer with TypeAssigner with Applications with Implicits wit
10741074
}
10751075

10761076
def typedQuote(tree: untpd.Quote, pt: Type)(implicit ctx: Context): Tree = track("typedQuote") {
1077-
ctx.compilationUnit.containsQuotesOrSplices = true
10781077
val untpd.Quote(body) = tree
10791078
val isType = body.isType
10801079
val resultClass = if (isType) defn.QuotedTypeClass else defn.QuotedExprClass

0 commit comments

Comments
 (0)