Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Unified Diff: test/message/super-constructor.out

Issue 917933007: Make super() a syntax error in base class constructor (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: expand tests slightly Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: test/message/super-constructor.out
diff --git a/test/message/super-constructor.out b/test/message/super-constructor.out
index 63fb9c94e320857f1d1b8c8df2002a4d44ec2ce9..3fa546bd45b619ad510ec0ca976e81232531e89e 100644
--- a/test/message/super-constructor.out
+++ b/test/message/super-constructor.out
@@ -1,9 +1,7 @@
# 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: ReferenceError: Unsupported reference to 'super'
+*%(basename)s:10: SyntaxError: 'super' keyword unexpected here
super(this.x);
- ^
-ReferenceError: Unsupported reference to 'super'
- at new C (*%(basename)s:10:5)
- at *%(basename)s:14:9
+ ^^^^^
+SyntaxError: 'super' keyword unexpected here

Powered by Google App Engine
This is Rietveld 408576698