summaryrefslogblamecommitdiff
path: root/test/files/neg/t835.check
blob: 6ad18d30284f1815da4a25bdb639c5deb4364ba1 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                      


                                                                
                                                      
                                                                
                                                               
                                                          
                
t835.scala:2: error: no `: _*' annotation allowed here
(such annotations are only allowed in arguments to *-parameters)
  Console.println(List(List(1, 2, 3) : _*, List(4, 5, 6) : _*))
                                     ^
t835.scala:2: error: no `: _*' annotation allowed here
(such annotations are only allowed in arguments to *-parameters)
  Console.println(List(List(1, 2, 3) : _*, List(4, 5, 6) : _*))
                                                         ^
two errors found