gngr icon indicating copy to clipboard operation
gngr copied to clipboard

Default values for method parameters

Open hrj opened this issue 10 years ago • 0 comments

Avoid multiple declarations of methods when parameters have default values.

For examples:

void f() {
  f(0);
}
void f(int i) {
  ...
}

This could be implemented by allowing the default value to be specified through annotation.

hrj avatar Jul 31 '15 08:07 hrj