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 | |
parent | 20d48d988732ac3c721f31d1a4b8487047b9e92c (diff) | |
download | dotty-40a3b94fd8380c120634742239c5128e3fce664c.tar.gz dotty-40a3b94fd8380c120634742239c5128e3fce664c.tar.bz2 dotty-40a3b94fd8380c120634742239c5128e3fce664c.zip |
Update check file
Diffstat (limited to 'tests')
-rw-r--r-- | tests/run/paramForwarding.check | 2 | ||||
-rw-r--r-- | tests/run/paramForwarding.scala | 6 |
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) |