Skip to content

Commit ee4ed2b

Browse files
committed
.
1 parent d139dfb commit ee4ed2b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

repl/test-resources/repl/i6474

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ scala> object Foo2 { type T[+A] = [B] =>> (A, B) }
55
scala> object Foo3 { type T[+A] = [B] =>> [C] =>> (A, B) }
66
// defined object Foo3
77
scala> ((1, 2): Foo1.T[Int]): Foo1.T[Any]
8-
val res0: Foo1.T[Any] = (1,2)
8+
val res0: Foo1.T[Any] = (1, 2)
99
scala> ((1, 2): Foo2.T[Int][Int]): Foo2.T[Any][Int]
10-
val res1: Foo2.T[Any][Int] = (1,2)
10+
val res1: Foo2.T[Any][Int] = (1, 2)
1111
scala> (1, 2): Foo3.T[Int][Int]
1212
-- [E056] Syntax Error: --------------------------------------------------------
1313
1 | (1, 2): Foo3.T[Int][Int]
@@ -19,6 +19,6 @@ val res2: Foo3.T[Any][Int][Int] = (1,2)
1919
scala> object Foo3 { type T[A] = [B] =>> [C] =>> (A, B) }
2020
// defined object Foo3
2121
scala> ((1, 2): Foo3.T[Int][Int][Int])
22-
val res3: Foo3.T[Int][Int][Int] = (1,2)
22+
val res3: Foo3.T[Int][Int][Int] = (1, 2)
2323
scala> ((1, 2): Foo3.T[Int][Int][Int])
24-
val res4: Foo3.T[Int][Int][Int] = (1,2)
24+
val res4: Foo3.T[Int][Int][Int] = (1, 2)

repl/test-resources/type-printer/vals

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ val xs: List[Int] = List(1)
77
scala> scala.util.Try(1)
88
val res0: scala.util.Try[Int] = Success(1)
99
scala> Map(1 -> "one")
10-
val res1: Map[Int, String] = Map(1 -> one)
10+
val res1: Map[Int, String] = Map(1 -> "one")

0 commit comments

Comments
 (0)