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


                                                        
                                                                                           
                   


                                                                                                                                       
                 
               
t1181.scala:9: error: type mismatch;
 found   : scala.collection.immutable.Map[Symbol,Symbol]
 required: Symbol
     _ => buildMap(map.updated(keyList.head, valueList.head), keyList.tail, valueList.tail)
                  ^
t1181.scala:8: warning: a pure expression does nothing in statement position; multiline expressions might require enclosing parentheses
     case (Nil, Nil) => map
                        ^
one warning found
one error found