Skip to content

Commit bf02a04

Browse files
committed
Properly inline the closure
1 parent 0bd0fcf commit bf02a04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/src/scala/internal/quoted/Matcher.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ private[quoted] object Matcher {
2424
*/
2525
private type Env = Map[Symbol, Symbol]
2626

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)
2828

2929
class SymBinding(val sym: Symbol, val fromAbove: Boolean)
3030

0 commit comments

Comments
 (0)