New class wizard creates class with compilation errors
I chose to create a subclass of java.io.FileOutputStream via the new Scala class wizard, and ticked the box to have constructors from the superclass included. I got this as the body of my class:
There are three compilation error markers for these lines, so there are several bugs here.
def this(name: String) { this(name, null) }
def this(file: File) { this(file, null) }
def this() { this(null) }
def this() { this(null) }
def this() { this(null) }
There are three compilation error markers for these lines, so there are several bugs here.
Leave a comment
on 2012-10-10 09:20 *
By Mirco Dotta
Eclipse version changed from Indigo to Helios - Eclipse 3.6
Milestone changed from Helium to Backlog
Priority changed from Normal (3) to Low (4)
on 2014-04-26 13:49 *
By Simon Schäfer
Eclipse version changed from Helios - Eclipse 3.6 to Kepler - Eclipse 4.3
Version changed from 2.0.0-final-28 to 3.0.2-210
Priority changed from Low (4) to Normal (3)
Milestone changed from Backlog to -none-
Status changed from New to Accepted
In the newest version the "create constructors" checkbox doesn't even exist anymore
Closing this ticket as fixed, because the wizard this ticket relies on has been removed from the codebase. There is a new wizard which is now used as the default one.