Skip to content

Commit ce75e9f

Browse files
committed
Added case to manage inlined nodes and correctly drop them
1 parent c6cbf9e commit ce75e9f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/pos-with-compiler-cc/dotc/transform/Mixin.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@ class Mixin extends MiniPhase with SymTransformer { thisPhase =>
221221
case _ =>
222222
}
223223
(scall, stats ::: inits, args)
224+
case inlined @ Inlined(_, _, _) => transformConstructor(Inlines.dropInlined(inlined))
224225
case _ =>
225226
val Apply(sel @ Select(New(_), nme.CONSTRUCTOR), args) = tree: @unchecked
226227
val (callArgs, initArgs) = if (tree.symbol.owner.is(Trait)) (Nil, args) else (args, Nil)

0 commit comments

Comments
 (0)