Skip to content

Commit a4e8c0f

Browse files
committed
Properly inline DottyPredef.locally
1 parent 2dfb359 commit a4e8c0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/src/dotty/DottyPredef.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ object DottyPredef {
1818

1919
inline final def implicitly[T](implicit ev: T): T = ev
2020

21-
inline def locally[T](body: => T): T = body
21+
inline def locally[T](inline body: T): T = body
2222

2323
/**
2424
* Retrieve the single value of a type with a unique inhabitant.

0 commit comments

Comments
 (0)