Show argument names with error "Incorrect amount of arguments for function" #7

Closed
opened 2026-04-23 09:14:29 +10:00 by DiamondNether90 · 1 comment

A useful feature would be to list the function declaration with the "Incorrect amount of arguments for function" error. This would make debugging much easier, without having to return to the declaration every time

Example:

error: Incorrect number of arguments for function myFunction(double arg1, int arg2)
-> On line 2

myFunction(2.5)
A useful feature would be to list the function declaration with the "Incorrect amount of arguments for function" error. This would make debugging much easier, without having to return to the declaration every time Example: ``` error: Incorrect number of arguments for function myFunction(double arg1, int arg2) -> On line 2 myFunction(2.5) ```
Owner

Maybe in future, the current compiler kinda complicated enough as is

Maybe in future, the current compiler kinda complicated enough as is
max closed this issue 2026-05-19 18:33:37 +10:00
Sign in to join this conversation.