blob: b05c67ad9ab0c73843ebe562468aa9452b940ba7 (
plain) (
blame)
1
2
3
4
|
AccessPrivateConstructor_2.scala:2: error: constructor PrivateConstructor in class PrivateConstructor cannot be accessed in class AccessPrivateConstructor
new PrivateConstructor("") // Scalac should forbid accessing to the private constructor!
^
one error found
|