summaryrefslogblamecommitdiff
path: root/test/files/neg/bug1431.check
blob: 0ae28eea9d8b31f5c9a1a78752f1e536ba9c4191 (plain) (tree)
1
2
3
4



                                                               
bug1431.scala:8: error: class type required but X#Factory found
  def fun[X<:MyTrait with Singleton]() = new X#Factory().value
                                               ^
one error found