Skip to content

Commit 369db24

Browse files
committed
reverted changeong owner of val
1 parent 5e1300f commit 369db24

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
@@ -520,7 +520,6 @@ class Inliner(call: tpd.Tree, rhsToInline: tpd.Tree)(using Context) {
520520
ref(rhsClsSym.sourceModule)
521521
else
522522
inlineCallPrefix
523-
//val binding = ValDef(selfSym.asTerm, rhs.changeOwner(ctx.owner,selfSym)).withSpan(selfSym.span).setDefTree
524523
val binding = ValDef(selfSym.asTerm, rhs).withSpan(selfSym.span).setDefTree
525524
bindingsBuf += binding
526525
inlining.println(i"proxy at $level: $selfSym = ${bindingsBuf.last}")

0 commit comments

Comments
 (0)