summaryrefslogblamecommitdiff
path: root/test/files/neg/t5696.check
blob: e0fb61b839612160088fe717ada9ad6286a46310 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
















                                                                         
                    
              
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