On this array initialization
int[] a = {};
compiler give error - Not enough values to match pattern.
I think this is bug.
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
On this array initialization
int[] a = {};
compiler give error - Not enough values to match pattern.
I think this is bug.
Indeed. I'll have it fixed.
Of course, the result of int[] a = {}; would be the same as just int[] a;