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

Side by Side Diff: dart/tests/compiler/dart2js/deferred_follow_constant_dependencies_test.dart

Issue 341923005: Update imports to use package:compiler and package:try. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Merged with r37512. Created 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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
5 // Test that constants depended on by other constants are correctly deferred. 5 // Test that constants depended on by other constants are correctly deferred.
6 6
7 import 'package:expect/expect.dart'; 7 import 'package:expect/expect.dart';
8 import "package:async_helper/async_helper.dart"; 8 import "package:async_helper/async_helper.dart";
9 import 'memory_source_file_helper.dart'; 9 import 'memory_source_file_helper.dart';
10 import "dart:async"; 10 import "dart:async";
11 import '../../../sdk/lib/_internal/compiler/implementation/dart2jslib.dart' 11 import 'package:compiler/implementation/dart2jslib.dart'
12 hide Compiler; 12 hide Compiler;
13 13
14 14
15 class FakeOutputStream<T> extends EventSink<T> { 15 class FakeOutputStream<T> extends EventSink<T> {
16 void add(T event) {} 16 void add(T event) {}
17 void addError(T event, [StackTrace stackTrace]) {} 17 void addError(T event, [StackTrace stackTrace]) {}
18 void close() {} 18 void close() {}
19 } 19 }
20 20
21 void main() { 21 void main() {
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 print(lib.L); 75 print(lib.L);
76 } 76 }
77 """, "lib.dart": """ 77 """, "lib.dart": """
78 class C { 78 class C {
79 final a; 79 final a;
80 const C(this.a); 80 const C(this.a);
81 } 81 }
82 82
83 const L = const {"cA": const C(const {"cB": "cC"})}; 83 const L = const {"cA": const C(const {"cB": "cC"})};
84 """,}; 84 """,};
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698