Skip to content

Commit 80987df

Browse files
committed
Fix ByName wrapping for implicit dictionaries
1 parent 8371dfc commit 80987df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1849,9 +1849,9 @@ final class SearchRoot extends SearchHistory:
18491849
})
18501850

18511851
val res = alignByNameInArgs.transform(resMap(success.tree))
1852-
.alignByName(pt)
18531852

18541853
val blk = Block(classDef :: inst :: Nil, res).withSpan(span)
1854+
.alignByName(pt)
18551855

18561856
success.copy(tree = blk)(success.tstate, success.gstate)
18571857
}

0 commit comments

Comments
 (0)