File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ scala> (1, 2): Foo3.T[Int][Int]
1515 | Missing type parameter for Foo3.T[Int][Int]
16161 error found
1717scala> ((1, 2): Foo3.T[Int][Int][Int]): Foo3.T[Any][Int][Int]
18- val res2: Foo3.T[Any][Int][Int] = (1,2)
18+ val res2: Foo3.T[Any][Int][Int] = (1, 2)
1919scala> object Foo3 { type T[A] = [B] =>> [C] =>> (A, B) }
2020// defined object Foo3
2121scala> ((1, 2): Foo3.T[Int][Int][Int])
Original file line number Diff line number Diff line change 11scala> List(1,2,3)
22val res0: List[Int] = List(1, 2, 3)
33scala> Map("foo" -> 1)
4- val res1: Map[String, Int] = Map(foo -> 1)
4+ val res1: Map[String, Int] = Map(" foo" -> 1)
55scala> Seq('a','b')
6- val res2: Seq[Char] = List(a, b )
6+ val res2: Seq[Char] = List('a', 'b' )
77scala> Set(4, 5)
88val res3: Set[Int] = Set(4, 5)
99scala> Iterator(1)
10- val res4: Iterator[Int] = < iterator>
10+ val res4: Iterator[Int] = non-empty iterator
You can’t perform that action at this time.
0 commit comments