blob: a3a9172bb2f85774073d4f0b6a1ae3823045be28 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
object TooManyParens {
def f = Map(1 -> 2).keySet()
//
// Confusion reigns!
//
// work/a.scala:27: error: not enough arguments for method apply: (elem: Int)Boolean in trait SetLike.
// Unspecified value parameter elem.
// def f = Map(1 -> 2).keySet()
// ^
}
|