File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ object Test extends App {
1212 }
1313 object C
1414
15- val x1 = Test . A ()
15+ val x1 = A ()
1616 assert(x1.run == " A" )
1717
1818 val x2 = B [String ]()
@@ -36,6 +36,7 @@ object Test extends App {
3636 val x8 = C[T = Int]("a", 1)
3737 assert((x8: C[String, Int]).run == "C a 1")
3838*/
39+ Test2
3940}
4041
4142object Test2 {
@@ -52,18 +53,18 @@ object Test2 {
5253 val x1 = Test .A ()
5354 assert(x1.run == " A" )
5455
55- val x2 = B [String ]()
56+ val x2 = Test . B [String ]()
5657 assert(x2.run == " B" )
5758
58- val x3 : B [String ] = B ()
59+ val x3 : B [String ] = Test . B ()
5960 assert(x3.run == " B" )
6061
61- val x4 : C [String , Int ] = C (" a" , 1 )
62+ val x4 : C [String , Int ] = Test . C (" a" , 1 )
6263 assert(x4.run == " C a 1" )
6364
64- val x5 = C [String , Int ](" a" , 1 )
65+ val x5 = Test . C [String , Int ](" a" , 1 )
6566 assert(x5.run == " C a 1" )
6667
67- val x6 = C (" a" , 1 )
68+ val x6 = Test . C (" a" , 1 )
6869 assert((x6 : C [String , Int ]).run == " C a 1" )
6970}
You can’t perform that action at this time.
0 commit comments