blob: a3a9172bb2f85774073d4f0b6a1ae3823045be28 (
plain) (
tree)
|
|
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()
// ^
}
|