This test should pass, but doesnt, because when the compiler knows args as : object, it just bails on the operator. At a minimum, it should be trying to explicitly unpack all arguments, and if it can't, should be deferring to the interpreter. Conceivably we could do better than this in cases where args or **kwargs just get passed through directly to another function, although that's not a particularly high-value use case.
This test should pass, but doesnt, because when the compiler knows
args
as: object
, it just bails on the operator. At a minimum, it should be trying to explicitly unpack all arguments, and if it can't, should be deferring to the interpreter. Conceivably we could do better than this in cases where args or **kwargs just get passed through directly to another function, although that's not a particularly high-value use case.