Skip to content

Commit 3105be8

Browse files
committed
Remove unnecessary check
1 parent af825bd commit 3105be8

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1253,7 +1253,6 @@ class Inliner(call: tpd.Tree, rhsToInline: tpd.Tree)(using Context) {
12531253
constToLiteral(betaReduce(super.typedApply(tree, pt))) match {
12541254
case res: Apply if res.symbol == defn.InternalQuoted_exprSplice
12551255
&& level == 0
1256-
&& call.symbol.is(Macro)
12571256
&& !suppressInline =>
12581257
expandMacro(res.args.head, tree.span)
12591258
case res => res

0 commit comments

Comments
 (0)