summaryrefslogtreecommitdiff
path: root/test/files/neg/t1181.check
blob: 13b73d5381c7517c8b6f3defd50257f96fdf68c2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
t1181.scala:8: warning: a pure expression does nothing in statement position; you may be omitting necessary parentheses
     case (Nil, Nil) => map
                        ^
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)
                  ^
one warning found
one error found