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

Side by Side 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: Removed redundant check. 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
Johnni Winther 2012/09/26 17:03:58 This is a new file.
5 class A { 5 library export_cyclic_helper2;
6
7 import 'export_cyclic_test.dart';
8 import 'export_cyclic_helper3.dart';
9 export 'export_cyclic_test.dart';
10 export 'export_cyclic_helper3.dart';
11
12 class C {
6 A a; 13 A a;
7 14 B b;
8 bar(c) { 15 C c;
9 c.a = 2; /// 01: dynamic type error 16 D d;
10 }
11 } 17 }
12
13 class B {
14 int a;
15 }
16
17 main() {
18 new A().bar(new A()); /// 01: continued
19 new A().bar(new B());
20 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698