Skip to content

Commit

Permalink
Update check file
Browse files Browse the repository at this point in the history
  • Loading branch information
odersky committed Mar 20, 2017
1 parent 20d48d9 commit 40a3b94
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/run/paramForwarding.check
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ NonVal:
X:
private final int X.theValue$$local
Y:
private final int Y.theValue$$local

6 changes: 3 additions & 3 deletions tests/run/paramForwarding.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand All @@ -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)


Expand Down

0 comments on commit 40a3b94

Please sign in to comment.