Details
-
New Feature
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
-
mac os x 10.3.3, java 1.4.2
Description
I have discovered that default parameters on ctors are not supported. I would like to request that this feature be supported. Here is a code snippet that can show it works/does not work:
class Bug6 {
a
Bug6(aa = 23)
{ a = aa }static void main(args)
{ b = new Bug6() if(b.address != 23) println "default args don't work on constructors!" }}