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

Unified Diff: tests/language/export_cyclic_helper2.dart

Issue 10990060: Added support for exports and re-exports. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated cf. comments Created 8 years, 2 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/export_cyclic_helper2.dart
diff --git a/tests/language/field_type_check2_test.dart b/tests/language/export_cyclic_helper2.dart
similarity index 52%
copy from tests/language/field_type_check2_test.dart
copy to tests/language/export_cyclic_helper2.dart
index 80925f4f7d4d307073a8c4634a9bd1b90c2e0c41..c602467089b656eb2e068657e3e1bdaa47c90d2f 100644
--- a/tests/language/field_type_check2_test.dart
+++ b/tests/language/export_cyclic_helper2.dart
@@ -2,19 +2,16 @@
// 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 {
- A a;
+library export_cyclic_helper2;
- bar(c) {
- c.a = 2; /// 01: dynamic type error
- }
-}
+import 'export_cyclic_test.dart';
+import 'export_cyclic_helper3.dart';
+export 'export_cyclic_test.dart';
+export 'export_cyclic_helper3.dart';
-class B {
- int a;
-}
-
-main() {
- new A().bar(new A()); /// 01: continued
- new A().bar(new B());
+class C {
+ A a;
+ B b;
+ C c;
+ D d;
}

Powered by Google App Engine
This is Rietveld 408576698