Skip to content

Commit f98e98a

Browse files
committed
Remove redundant check
Those are checked by the Ident or Select of their function parts
1 parent 8e91299 commit f98e98a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,8 +276,6 @@ class PostTyper extends MacroTransform with IdentityDenotTransformer { thisPhase
276276
checkNoConstructorProxy(tree)
277277
transformSelect(tree, Nil)
278278
case tree: Apply =>
279-
if tree.symbol.is(Inline) && !Inliner.inInlineMethod then
280-
ctx.compilationUnit.needsInlining = true
281279
val methType = tree.fun.tpe.widen
282280
val app =
283281
if (methType.isErasedMethod)

0 commit comments

Comments
 (0)