Some initial refactoring work for arg passing
Replace a simple "num_args" argument with a packed struct that takes num_args and adds num_keywords, has_varargs, and has_kwargs. Tried to add asserts in all the places that don't allow keywords/varargs/starargs Started refactoring things; got to the point of attempting argument->parameter shuffling, but it's tricky if we allow every compilation to have a different signature (used by builtins). Really they all have the same signatures but different specializations; to get to that point, need to add defaults.
Showing
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment