aboutsummaryrefslogtreecommitdiff
path: root/tests/run
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run')
-rw-r--r--tests/run/paramForwarding.check2
-rw-r--r--tests/run/paramForwarding.scala6
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/run/paramForwarding.check b/tests/run/paramForwarding.check
index c004a95be..e91447784 100644
--- a/tests/run/paramForwarding.check
+++ b/tests/run/paramForwarding.check
@@ -13,4 +13,4 @@ NonVal:
X:
private final int X.theValue$$local
Y:
-private final int Y.theValue$$local
+
diff --git a/tests/run/paramForwarding.scala b/tests/run/paramForwarding.scala
index 61466b621..6fe80a230 100644
--- a/tests/run/paramForwarding.scala
+++ b/tests/run/paramForwarding.scala
@@ -19,7 +19,7 @@ class Bz extends A(42) {
val theValueInBz = theValue
}
-// C does not contains a field C.theValue$$local, it contains
+// C does not contain a field C.theValue$$local, it contains
// a getter C.theValue() which only calls super.theValue()
class C(override val theValue: Int) extends A(theValue)
@@ -36,8 +36,8 @@ class NonVal(theValue: Int) extends A(theValue) {
// X.theValue() which overrides A.theValue()
class X(override val theValue: Int) extends NonVal(0)
-// Y contains a field Y.theValue$$local accessible using the getter
-// Y.theValue() which overrides A.theValue()
+// Y does not contain a field Y.theValue$$local, it contains
+// a getter Y.theValue() which only calls super.theValue()
class Y(override val theValue: Int) extends NonVal(theValue)