We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f52540f commit f020133Copy full SHA for f020133
library/src/scala/NamedTuple.scala
@@ -21,7 +21,7 @@ object NamedTuple:
21
22
@annotation.compileTimeOnly("NamedTupleBuilder.Builder should have been eliminated by calling the build method.")
23
final class NamedTupleBuilder[N <: Tuple]():
24
- inline def build[V <: Tuple](inline x: V): NamedTuple[N, V] = x
+ inline def build[V <: Tuple](x: V): NamedTuple[N, V] = x
25
26
extension [V <: Tuple](x: V)
27
@deprecated("Use NamedTupleBuilder.apply instead")
@@ -219,4 +219,3 @@ object NamedTupleDecomposition:
219
/** The value types of a named tuple represented as a regular tuple. */
220
type DropNames[NT <: AnyNamedTuple] <: Tuple = NT match
221
case NamedTuple[_, x] => x
222
-
0 commit comments