How to force case class constructors to have a pre defined signature in Scala?

后端 未结 0 830
旧巷少年郎
旧巷少年郎 2021-01-03 05:57

I want to force case subclasses constructors to have a defined creation signature (by using a trait). However, I can\'t reference a class constructor inside

相关标签:
回答
  • 消灭零回复
提交回复
热议问题