Skip to content

Commit d530970

Browse files
committed
Fix wrong reference to unit runtime value
Caught by @compileTimeOnly
1 parent a45ff33 commit d530970

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/src-3.x/scala/runtime/DynamicTuple.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ object DynamicTuple {
8383
def dynamic_*: [This <: Tuple, H] (self: Tuple, x: H): H *: This = {
8484
type Result = H *: This
8585
(self: Any) match {
86-
case Unit =>
86+
case () =>
8787
Tuple1(x).asInstanceOf[Result]
8888
case self: Tuple1[_] =>
8989
Tuple2(x, self._1).asInstanceOf[Result]

0 commit comments

Comments
 (0)