List.add() generated definition has wrong return type
Issue #1978
resolved
Just noticed the return type in the generated system List class has the wrong return type. It shows as “Object” but it should be “void”.
// Generated by Illuminated Cloud on Mon Aug 23 01:52:29 HST 2021. Do not edit.
global class /*System.*/List implements Iterable
{
// snip
global Object add(Object element)
{
}
Comments (4)
-
repo owner -
reporter The only thing worse than no documentation is incorrect documentation. Thanks Tooling API!
-
repo owner Fix committed for inclusion in the next build.
-
repo owner - changed status to resolved
Delivered in 2.1.8.9. OST regeneration will of course be required to see the effect.
- Log in to comment
Hah! Looks like this is another one that's reported incorrectly by the tooling API's
completions
resource:I have a way to massage those API results for a more accurate OST. I'll take care of this one for an upcoming build.