Index: test/message/super-constructor-extra-statement.out |
diff --git a/test/message/super-constructor-extra-statement.out b/test/message/super-constructor-extra-statement.out |
index cbe1e0704f763bc5c3d9dcb6641eb13871068b6d..a4156d04c481c31042d85794261835675c786c6c 100644 |
--- a/test/message/super-constructor-extra-statement.out |
+++ b/test/message/super-constructor-extra-statement.out |
@@ -1,8 +1,10 @@ |
# Copyright 2014 the V8 project authors. All rights reserved. |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
-*%(basename)s:10: TypeError: A 'super' constructor call may only appear as the first statement of a function, and its arguments may not access 'this'. Other forms are not yet supported. |
- var x; |
- |
-TypeError: A 'super' constructor call may only appear as the first statement of a function, and its arguments may not access 'this'. Other forms are not yet supported. |
+ |
+*%(basename)s:11: ReferenceError: Unsupported reference to 'super' |
+ super(x); |
+ ^ |
+ReferenceError: Unsupported reference to 'super' |
+ at new C (*%(basename)s:11:5) |
at *%(basename)s:15:9 |