Closed DinoV closed 3 years ago
What we should be doing here is producing a compile time error so that we know we already have the correct arguments.
This could potentially be resulting in corruption for calls to non-JITed code right now as well as we could over-fill the locals array in the frame, and probably fires an assert in debug builds. In JITed code we should just be ignoring the extra args.
Calls from non-static Python should all still be okay as we'll still do the arg check.
This should report an error: