diff options
Diffstat (limited to 'tests/untried/neg/t1181.check')
-rw-r--r-- | tests/untried/neg/t1181.check | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/untried/neg/t1181.check b/tests/untried/neg/t1181.check new file mode 100644 index 000000000..13b73d538 --- /dev/null +++ b/tests/untried/neg/t1181.check @@ -0,0 +1,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 |