summaryrefslogtreecommitdiff
path: root/test/files/neg/t1431.check
blob: a17ba732435f14bdb8adb0efdb2548818a38dcbb (plain) (blame)
1
2
3
4
t1431.scala:8: error: class type required but X#Factory found
  def fun[X<:MyTrait with Singleton]() = new X#Factory().value
                                               ^
one error found