Skip to content

Instantly share code, notes, and snippets.

@ryuukk
Created January 15, 2024 16:02
Show Gist options
  • Save ryuukk/6799e2bc3c0055af8893855599a9eb0c to your computer and use it in GitHub Desktop.
Save ryuukk/6799e2bc3c0055af8893855599a9eb0c to your computer and use it in GitHub Desktop.

before:

$ dmd -run app.d                                                                                                                                                                                                    
app.d(9): Error: function `app.why_do_i_have_to_read_this_long_ass_function_man_useless(int aa)` is not callable using argument types `(string)`
app.d(9):        cannot pass argument `"wrong"` of type `string` to parameter `int aa`

after:

$ ./dmd -run app.d 
app.d(9): Error: function is not callable using argument types `(string)`
app.d(9):               `app.why_do_i_have_to_read_this_long_ass_function_man_useless(int aa)`
app.d(9):        cannot pass argument `"wrong"` of type `string` to parameter `int aa`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment