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

Unified Diff: tests/language/inheritance_chain_lib.dart

Issue 1347423003: dart2js: Make sure that super classes have their inheritance chain set up correctly. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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: tests/language/inheritance_chain_lib.dart
diff --git a/tests/language/inheritance_chain_lib.dart b/tests/language/inheritance_chain_lib.dart
new file mode 100644
index 0000000000000000000000000000000000000000..1a8ef51f0a25881bbba249fbd1c98ce3f15cd3ad
--- /dev/null
+++ b/tests/language/inheritance_chain_lib.dart
@@ -0,0 +1,25 @@
+// Copyright (c) 2015, 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.
+
+import "inheritance_chain_test.dart";
+
+class B extends C {
+ get id => "B";
+ get length => 2;
+}
+
+class D extends Z {
+ get id => "D";
+ get length => 4;
+}
+
+class W {
+ get id => "W";
+ get length => -4;
+}
+
+class Y extends X {
+ get id => "Y";
+ get length => -2;
+}
« no previous file with comments | « pkg/compiler/lib/src/js_emitter/startup_emitter/fragment_emitter.dart ('k') | tests/language/inheritance_chain_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698