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

Unified Diff: compiler/javatests/com/google/dart/compiler/end2end/RedirectedConstructorTest.dart

Issue 9464044: Updates incremental compilation tests to work w/o code generation (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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: compiler/javatests/com/google/dart/compiler/end2end/RedirectedConstructorTest.dart
diff --git a/compiler/javatests/com/google/dart/compiler/end2end/RedirectedConstructorTest.dart b/compiler/javatests/com/google/dart/compiler/end2end/RedirectedConstructorTest.dart
deleted file mode 100644
index 6129644e50e449f0e917f9d756b3a6598657918d..0000000000000000000000000000000000000000
--- a/compiler/javatests/com/google/dart/compiler/end2end/RedirectedConstructorTest.dart
+++ /dev/null
@@ -1,26 +0,0 @@
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-class A {
- var x;
- A(this.x) {}
- A.named1(x, y) : this(x + y);
- A.named2(x, y, z) : this.named1(x + y, z);
-}
-
-class B extends A {
- B(y) : super.named2(y, y + 1, y + 2) { }
- B.named(x) : this(x);
-}
-
-main() {
- var a1 = new A.named1(1, 2);
- assert(a1.x == 3);
-
- var a2 = new A.named2(1, 2, 3);
- assert( a2.x == 6);
-
- var b = new B.named(-1);
- assert(b.x == 0);
-}

Powered by Google App Engine
This is Rietveld 408576698