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

Unified Diff: test/message/super-constructor-extra-statement.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-extra-statement.out
diff --git a/test/message/super-constructor-extra-statement.out b/test/message/super-constructor-extra-statement.out
index a4156d04c481c31042d85794261835675c786c6c..0faa3bea0d0b2b975d542c5b59bd00bae21b080d 100644
--- a/test/message/super-constructor-extra-statement.out
+++ b/test/message/super-constructor-extra-statement.out
@@ -2,9 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-*%(basename)s:11: ReferenceError: Unsupported reference to 'super'
+*%(basename)s:11: SyntaxError: 'super' keyword unexpected here
super(x);
- ^
-ReferenceError: Unsupported reference to 'super'
- at new C (*%(basename)s:11:5)
- at *%(basename)s:15:9
+ ^^^^^
+SyntaxError: 'super' keyword unexpected here

Powered by Google App Engine
This is Rietveld 408576698