- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
DelayedInit does not like constructor arguments
Sun, 2011-03-27, 14:15
Hi,
I just opened https://lampsvn.epfl.ch/trac/scala/ticket/4396, which is
basically about the current (2.9.0-rc1) inability to derive from a
DelayedInit trait while using constructor arguments during
initialization. I realize that that was not needed for the original
reason of introducing DelayedInit (curing Application), but it is quite
useful to have for DSLs, so you can wrap the class body in library code
(I am trying to improve Akka FSM using this technique). Or am I on the
wrong path?
Regards,
Roland