aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/pos/t6601/UsePrivateValueClass_2.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/pos/t6601/UsePrivateValueClass_2.scala')
-rw-r--r--tests/untried/pos/t6601/UsePrivateValueClass_2.scala8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/untried/pos/t6601/UsePrivateValueClass_2.scala b/tests/untried/pos/t6601/UsePrivateValueClass_2.scala
index 461b8397b..ec9793751 100644
--- a/tests/untried/pos/t6601/UsePrivateValueClass_2.scala
+++ b/tests/untried/pos/t6601/UsePrivateValueClass_2.scala
@@ -1,8 +1,8 @@
object Test {
- // After the first attempt to make seprately compiled value
- // classes respect the privacy of constructors, we got:
- //
- // exception when typing v.a().==(v.a())/class scala.reflect.internal.Trees$Apply
+ // After the first attempt to make seprately compiled value
+ // classes respect the privacy of constructors, we got:
+ //
+ // exception when typing v.a().==(v.a())/class scala.reflect.internal.Trees$Apply
// constructor V in class V cannot be accessed in object Test in file test/files/pos/t6601/UsePrivateValueClass_2.scala
// scala.reflect.internal.Types$TypeError: constructor V in class V cannot be accessed in object Test
def foo(v: V) = v.a == v.a