We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d139dfb commit ee4ed2bCopy full SHA for ee4ed2b
repl/test-resources/repl/i6474
@@ -5,9 +5,9 @@ scala> object Foo2 { type T[+A] = [B] =>> (A, B) }
5
scala> object Foo3 { type T[+A] = [B] =>> [C] =>> (A, B) }
6
// defined object Foo3
7
scala> ((1, 2): Foo1.T[Int]): Foo1.T[Any]
8
-val res0: Foo1.T[Any] = (1,2)
+val res0: Foo1.T[Any] = (1, 2)
9
scala> ((1, 2): Foo2.T[Int][Int]): Foo2.T[Any][Int]
10
-val res1: Foo2.T[Any][Int] = (1,2)
+val res1: Foo2.T[Any][Int] = (1, 2)
11
scala> (1, 2): Foo3.T[Int][Int]
12
-- [E056] Syntax Error: --------------------------------------------------------
13
1 | (1, 2): Foo3.T[Int][Int]
@@ -19,6 +19,6 @@ val res2: Foo3.T[Any][Int][Int] = (1,2)
19
scala> object Foo3 { type T[A] = [B] =>> [C] =>> (A, B) }
20
21
scala> ((1, 2): Foo3.T[Int][Int][Int])
22
-val res3: Foo3.T[Int][Int][Int] = (1,2)
+val res3: Foo3.T[Int][Int][Int] = (1, 2)
23
24
-val res4: Foo3.T[Int][Int][Int] = (1,2)
+val res4: Foo3.T[Int][Int][Int] = (1, 2)
repl/test-resources/type-printer/vals
@@ -7,4 +7,4 @@ val xs: List[Int] = List(1)
scala> scala.util.Try(1)
val res0: scala.util.Try[Int] = Success(1)
scala> Map(1 -> "one")
-val res1: Map[Int, String] = Map(1 -> one)
+val res1: Map[Int, String] = Map(1 -> "one")
0 commit comments