| Index: test/mjsunit/bugs/618.js
|
| diff --git a/test/mjsunit/bugs/618.js b/test/mjsunit/bugs/618.js
|
| index afa9929a60edec191262ceed93c5d41f28a9af97..ddc0c19c88662d9b62c2751e570a47896884ab9e 100644
|
| --- a/test/mjsunit/bugs/618.js
|
| +++ b/test/mjsunit/bugs/618.js
|
| @@ -32,14 +32,14 @@ function C1() {
|
| var c1 = new C1();
|
| assertEquals(23, c1.x);
|
| assertEquals("undefined", typeof c1.y);
|
| -
|
| +
|
| // Add setter somewhere on the prototype chain after having constructed the
|
| // first instance.
|
| C1.prototype = { set x(value) { this.y = 23; } };
|
| var c1 = new C1();
|
| assertEquals("undefined", typeof c1.x);
|
| assertEquals(23, c1.y);
|
| -
|
| +
|
| // Simple class using inline constructor.
|
| function C2() {
|
| this.x = 23;
|
|
|