Shortcut for subclassing in Scala without repeating constructor arguments?
问题 Let's say I have some classes like this: abstract class View(val writer: XMLStreamWriter) { // Implementation } class TestView(writer: XMLStreamWriter) extends View(writer) { // Implementation } Most subclasses of View are not going to take different constructor arguments. I would like to be able to write something like this: class TestView extends View { // Implementation } Is there some shortcut to write subclasses so that you don't have to explicitly define the constructor args and pass