Skip to content

Commit 40a3b94

Browse files
committed
Update check file
1 parent 20d48d9 commit 40a3b94

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/run/paramForwarding.check

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ NonVal:
1313
X:
1414
private final int X.theValue$$local
1515
Y:
16-
private final int Y.theValue$$local
16+

tests/run/paramForwarding.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class Bz extends A(42) {
1919
val theValueInBz = theValue
2020
}
2121

22-
// C does not contains a field C.theValue$$local, it contains
22+
// C does not contain a field C.theValue$$local, it contains
2323
// a getter C.theValue() which only calls super.theValue()
2424
class C(override val theValue: Int) extends A(theValue)
2525

@@ -36,8 +36,8 @@ class NonVal(theValue: Int) extends A(theValue) {
3636
// X.theValue() which overrides A.theValue()
3737
class X(override val theValue: Int) extends NonVal(0)
3838

39-
// Y contains a field Y.theValue$$local accessible using the getter
40-
// Y.theValue() which overrides A.theValue()
39+
// Y does not contain a field Y.theValue$$local, it contains
40+
// a getter Y.theValue() which only calls super.theValue()
4141
class Y(override val theValue: Int) extends NonVal(theValue)
4242

4343

0 commit comments

Comments
 (0)