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 4 months, 1 week ago.
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
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?
You must be logged in to reply to this topic.