Skip to content

Instantly share code, notes, and snippets.

@ryuukk
Created January 15, 2024 16:02

Revisions

  1. ryuukk created this gist Jan 15, 2024.
    18 changes: 18 additions & 0 deletions shiterrorman.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,18 @@
    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`
    ```