scala> b.update()
^
error: not enough arguments for method update: (index: Int, elem: String): Unit.
Unspecified value parameters index, elem.
scala> b.update
^
error: missing argument list for method update in class ArrayBuffer
Unapplied methods are only converted to functions when a function type is expected.
You can make this conversion explicit by writing `update _` or `update(_,_)` instead of `update`.
Problem
I'd like to see the signature without attempting an invocation. (Because who knows what may happen.)
It would be nice if missing argument list just told me the signature if unique, or that there are overloads.
Completion no longer tells me parameters when there are multiple completion candidates. (This used to be offered on subsequent tab.)
In this case, update and updated are candidates.
It does report signatures of a single completion candidate with overloads:
Reproduction steps
Scala version: 2.13.11
Problem
I'd like to see the signature without attempting an invocation. (Because who knows what may happen.)
It would be nice if
missing argument list
just told me the signature if unique, or that there are overloads.Completion no longer tells me parameters when there are multiple completion candidates. (This used to be offered on subsequent tab.)
In this case,
update
andupdated
are candidates.It does report signatures of a single completion candidate with overloads: