File tree 2 files changed +2
-2
lines changed
compiler/src/dotty/tools/dotc/typer
library/src/scala/internal/quoted
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ object Inliner {
183
183
given as Context = ctx.withSource(curSource)
184
184
185
185
tree match {
186
- case tree : Inlined => transform(Block (tree.bindings, tree.expansion)) // remove Inlined by making them blocks
186
+ case tree : Inlined => transform(cpy. Block (tree) (tree.bindings, tree.expansion)) // remove Inlined by making them blocks
187
187
case tree : Ident => finalize(untpd.Ident (tree.name)(curSource))
188
188
case tree : Literal => finalize(untpd.Literal (tree.const)(curSource))
189
189
case tree : This => finalize(untpd.This (tree.qual)(curSource))
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ private[quoted] object Matcher {
24
24
*/
25
25
private type Env = Map [Symbol , Symbol ]
26
26
27
- inline private def withEnv [T ](env : Env )(body : => Env ?=> T ): T = body(using env)
27
+ inline private def withEnv [T ](env : Env )(inline body : Env ?=> T ): T = body(using env)
28
28
29
29
class SymBinding (val sym : Symbol , val fromAbove : Boolean )
30
30
You can’t perform that action at this time.
0 commit comments