- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
Compiler crash on private constructor (#SI-4645)
Wed, 2011-05-25, 16:44
In 2.8.1, if I had a class with a private constructor, code trying to call it would generate the message:
In 2.9.0 (and 2.9.0.1) the compiler throws an exception as in issue #SI-4645 which is somewhat less friendly.
Is there a fix for this on the horizon?
error: constructor XXX cannot be accessed in YYY
In 2.9.0 (and 2.9.0.1) the compiler throws an exception as in issue #SI-4645 which is somewhat less friendly.
Is there a fix for this on the horizon?