On Monday, 15 May 2017 at 10:41:55 UTC, ag0aep6g wrote:
Now, what if we changed the ABI of delegates so that the context pointer is passed after the explicit arguments? That is, `dg(1, 2)` would pass (2, 1, 13). Then `f` would see 2 in b and 1 in a. It would ignore 13. Seems everything would just work then.
You can't pass 3 arguments to a function that takes 2 arguments. It's a violation of ABI and it won't work.
