Fork me on GitHub

Home Forums JSweet Discussion Support Void parameter in overloaded methods

This topic contains 1 reply, has 2 voices, and was last updated by  Louis Grignon 2 months, 1 week ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #3391

    slizeray
    Participant

    Hello,

    the following code does not transpile:

    package quickstart;

    public class Test {

    void hello(int i) {
    }

    void hello(Void param) {
    }

    }

    Any idea how to fix this? Any plan to support overloaded methods with Void parameters?

    Thanks,

    St├ęphane

    #3393

    Louis Grignon
    Keymaster

    Hello,
    Thanks for reporting.
    I guess using no argument isn’t an option for you?

    Anyway, it is a missing feature. Could you please file an issue on project’s GitHub?

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.