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

Open
opened 2026-04-23 09:14:29 +10:00 by DiamondNether90 · 0 comments

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) ```
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: solstice/solstice#7