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

Unified Diff: test/mjsunit/harmony/classes-lazy-parsing.js

Issue 1213813003: [es6] Remove harmony-classes flag (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Remove empty flags field from json Created 5 years, 6 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
« no previous file with comments | « test/mjsunit/harmony/classes-experimental.js ('k') | test/mjsunit/harmony/classes-maps.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/harmony/classes-lazy-parsing.js
diff --git a/test/mjsunit/harmony/classes-lazy-parsing.js b/test/mjsunit/harmony/classes-lazy-parsing.js
deleted file mode 100644
index ceac9aa0761aebe42a0185b400ac6bb7f5b53ef1..0000000000000000000000000000000000000000
--- a/test/mjsunit/harmony/classes-lazy-parsing.js
+++ /dev/null
@@ -1,34 +0,0 @@
-// 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.
-
-// Flags: --harmony-classes --min-preparse-length=0
-
-'use strict';
-
-class Base {
- m() {
- return 42;
- }
-}
-
-class Derived extends Base {
- m() {
- return super.m();
- }
- evalM() {
- return eval('super.m()');
- }
-}
-
-assertEquals(42, new Derived().m());
-assertEquals(42, new Derived().evalM());
-
-
-class LazyDerived extends Base {
- constructor() {
- eval('super()');
- }
-}
-assertInstanceof(new LazyDerived(), LazyDerived);
-assertInstanceof(new LazyDerived(), Base);
« no previous file with comments | « test/mjsunit/harmony/classes-experimental.js ('k') | test/mjsunit/harmony/classes-maps.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698