summaryrefslogblamecommitdiff
path: root/test/files/run/t4172.check
blob: b48c9ca0564b9117a47095c827ff4adf99671de6 (plain) (tree)
1
2
3
4
5
6
7
8





                                                                                              
                                                                          
                                                          



       
Type in expressions to have them evaluated.
Type :help for more information.

scala> 

scala>     val c = { class C { override def toString = "C" }; ((new C, new C { def f = 2 })) }
warning: there were 1 feature warning(s); re-run with -feature for details
c: (C, C{def f: Int}) forSome { type C <: AnyRef } = (C,C)

scala> 

scala>