|
|
|
|
|
by mk12
533 days ago
|
|
The problem is not that + calls a function. The problem is that + could call one of many different functions, i.e. it is overloaded. Zig does not allow overloading plus() based on the argument types. When you see plus(), you know there is exactly one function named “plus” in scope and it calls that. |
|
I suspect zig might be similar.