aboutsummaryrefslogblamecommitdiff
path: root/tests/run/t3452h.scala
blob: c06ae0a0b08d2a92b84c1de37c90308ffd85b4ff (plain) (tree)
1
2
3
4
5
6
7
8




                                                                                            
                                             

                          
class Mix___eFoo_I_wBar__f extends Foo_I_ with Bar__f { f; }
trait T
abstract class Foo_I_ { class I extends T    ; def f: I         ; f; }
trait Bar__f          { type  I>:Null<:T;      def f: I = {null}; f; def gobble: I = {null}}

object Test extends dotty.runtime.LegacyApp {
  new Mix___eFoo_I_wBar__f
}