Skip to content

Commit f020133

Browse files
committed
remove inline param to match withNames
1 parent f52540f commit f020133

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

library/src/scala/NamedTuple.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ object NamedTuple:
2121

2222
@annotation.compileTimeOnly("NamedTupleBuilder.Builder should have been eliminated by calling the build method.")
2323
final class NamedTupleBuilder[N <: Tuple]():
24-
inline def build[V <: Tuple](inline x: V): NamedTuple[N, V] = x
24+
inline def build[V <: Tuple](x: V): NamedTuple[N, V] = x
2525

2626
extension [V <: Tuple](x: V)
2727
@deprecated("Use NamedTupleBuilder.apply instead")
@@ -219,4 +219,3 @@ object NamedTupleDecomposition:
219219
/** The value types of a named tuple represented as a regular tuple. */
220220
type DropNames[NT <: AnyNamedTuple] <: Tuple = NT match
221221
case NamedTuple[_, x] => x
222-

0 commit comments

Comments
 (0)