Skip to content

Commit 3dbc6b1

Browse files
Update compiler/src/dotty/tools/dotc/typer/Inliner.scala
Co-authored-by: odersky <[email protected]>
1 parent e0b3160 commit 3dbc6b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1224,7 +1224,7 @@ class Inliner(call: tpd.Tree, rhsToInline: tpd.Tree)(using Context) {
12241224
if sym.is(Inline) then
12251225
val rhs = typed(vdef.rhs)
12261226
sym.info = rhs.tpe
1227-
untpd.cpy.ValDef(vdef)(vdef.name, untpd.TypedSplice(TypeTree(rhs.tpe)), untpd.TypedSplice(rhs))
1227+
untpd.cpy.ValDef(vdef)(vdef.name, untpd.TypeTree(rhs.tpe), untpd.TypedSplice(rhs))
12281228
else vdef
12291229
super.typedValDef(vdef1, sym)
12301230

0 commit comments

Comments
 (0)