sdk icon indicating copy to clipboard operation
sdk copied to clipboard

Analyzer erroneously allows `.call=` on type `Function`

Open stereotype441 opened this issue 1 year ago • 2 comments

The analyzer accepts the following code, but the CFE rejects it:

test(Function f) {
  f.call = 0;
}

The CFE is correct in rejecting the code; there is no .call= setter defined for the type Function.

stereotype441 avatar Oct 31 '24 16:10 stereotype441