diff options
author | Martin Odersky <odersky@gmail.com> | 2017-03-20 17:41:41 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2017-03-20 17:41:41 +0100 |
commit | 40a3b94fd8380c120634742239c5128e3fce664c (patch) | |
tree | f169d43ec7dce7037958d46850a3cb054f4ba3e0 /tests/run/paramForwarding.scala | |
parent | 20d48d988732ac3c721f31d1a4b8487047b9e92c (diff) | |
download | dotty-40a3b94fd8380c120634742239c5128e3fce664c.tar.gz dotty-40a3b94fd8380c120634742239c5128e3fce664c.tar.bz2 dotty-40a3b94fd8380c120634742239c5128e3fce664c.zip |
Update check file
Diffstat (limited to 'tests/run/paramForwarding.scala')
-rw-r--r-- | tests/run/paramForwarding.scala | 6 |
1 files changed, 3 insertions, 3 deletions
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) |