Fork me on GitHub

Home Forums JSweet Discussion Support Void parameter in overloaded methods

This topic contains 2 replies, has 3 voices, and was last updated by Avatar Anonymous 1 month, 3 weeks ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #3391
    Avatar
    Anonymous

    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
    Avatar
    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?

    #3417
    Avatar
    Anonymous

    We know a great deal more about Eric in the essay on time second example. While the first one gets us from point A to point B, the second one uses setting as part of the story. Readers tend to put a book down when it gets boring. Tying setting in with characterization keeps your readers going.

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

You must be logged in to reply to this topic.