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

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

Issue 2606253002: Move dart_types to elements/resolution_types (Closed)
Patch Set: Created 3 years, 11 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
« no previous file with comments | « pkg/compiler/lib/src/world.dart ('k') | tests/compiler/dart2js/flatten_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 library dart2js.analyze_helpers.test; 5 library dart2js.analyze_helpers.test;
6 6
7 import 'dart:io'; 7 import 'dart:io';
8 8
9 import 'package:async_helper/async_helper.dart'; 9 import 'package:async_helper/async_helper.dart';
10 import 'package:compiler/compiler_new.dart' show Diagnostic; 10 import 'package:compiler/compiler_new.dart' show Diagnostic;
11 import 'package:compiler/src/apiimpl.dart' show CompilerImpl; 11 import 'package:compiler/src/apiimpl.dart' show CompilerImpl;
12 import 'package:compiler/src/commandline_options.dart'; 12 import 'package:compiler/src/commandline_options.dart';
13 import 'package:compiler/src/constants/expressions.dart' 13 import 'package:compiler/src/constants/expressions.dart'
14 show ConstructedConstantExpression; 14 show ConstructedConstantExpression;
15 import 'package:compiler/src/dart_types.dart' show InterfaceType; 15 import 'package:compiler/src/elements/resolution_types.dart' show InterfaceType;
16 import 'package:compiler/src/diagnostics/source_span.dart' show SourceSpan; 16 import 'package:compiler/src/diagnostics/source_span.dart' show SourceSpan;
17 import 'package:compiler/src/elements/elements.dart'; 17 import 'package:compiler/src/elements/elements.dart';
18 import 'package:compiler/src/filenames.dart' show nativeToUriPath; 18 import 'package:compiler/src/filenames.dart' show nativeToUriPath;
19 import 'package:compiler/src/resolution/semantic_visitor.dart'; 19 import 'package:compiler/src/resolution/semantic_visitor.dart';
20 import 'package:compiler/src/resolution/tree_elements.dart' show TreeElements; 20 import 'package:compiler/src/resolution/tree_elements.dart' show TreeElements;
21 import 'package:compiler/src/source_file_provider.dart' 21 import 'package:compiler/src/source_file_provider.dart'
22 show FormattingDiagnosticHandler; 22 show FormattingDiagnosticHandler;
23 import 'package:compiler/src/tree/tree.dart'; 23 import 'package:compiler/src/tree/tree.dart';
24 import 'package:compiler/src/universe/call_structure.dart' show CallStructure; 24 import 'package:compiler/src/universe/call_structure.dart' show CallStructure;
25 import 'package:expect/expect.dart'; 25 import 'package:expect/expect.dart';
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 checkAccess(node, constructor); 206 checkAccess(node, constructor);
207 apply(arguments); 207 apply(arguments);
208 } 208 }
209 209
210 @override 210 @override
211 void visitConstConstructorInvoke( 211 void visitConstConstructorInvoke(
212 NewExpression node, ConstructedConstantExpression constant, _) { 212 NewExpression node, ConstructedConstantExpression constant, _) {
213 checkAccess(node, constant.target); 213 checkAccess(node, constant.target);
214 } 214 }
215 } 215 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/world.dart ('k') | tests/compiler/dart2js/flatten_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698