blob: 1410e1b11a79bbc87db411eccffb8852f4437e28 (
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
|