aboutsummaryrefslogblamecommitdiff
path: root/tests/untried/neg/t5696.check
blob: e0fb61b839612160088fe717ada9ad6286a46310 (plain) (tree)


















                                                                         
t5696.scala:6: error: too many argument lists for constructor invocation
  new G(1)(2) {}
      ^
t5696.scala:14: error: too many argument lists for constructor invocation
  new G()(2) {}
      ^
t5696.scala:22: error: too many argument lists for constructor invocation
  new G[Int]()(2) {}
      ^
t5696.scala:30: error: too many argument lists for constructor invocation
  new G[Int]()(2)(3) {}
      ^
t5696.scala:38: error: too many argument lists for constructor invocation
  new G[Int]()()(2) {}
      ^
t5696.scala:46: error: too many argument lists for constructor invocation
  object x extends G(1)(2) {}
                   ^
6 errors found