blob: 7f9a151dcd7c003694c737e2d281cc3f171f892d (
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()
// ^
}
|