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

Side by Side Diff: tests/compiler/dart2js/mock_compiler.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
OLDNEW
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, 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 mock_compiler; 5 library mock_compiler;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:collection'; 8 import 'dart:collection';
9 9
10 import 'package:compiler/compiler.dart' as api; 10 import 'package:compiler/compiler.dart' as api;
11 import 'package:compiler/src/common/names.dart' show Uris; 11 import 'package:compiler/src/common/names.dart' show Uris;
12 import 'package:compiler/src/constants/expressions.dart'; 12 import 'package:compiler/src/constants/expressions.dart';
13 import 'package:compiler/src/dart_types.dart' show DartType; 13 import 'package:compiler/src/elements/resolution_types.dart' show DartType;
14 import 'package:compiler/src/diagnostics/diagnostic_listener.dart'; 14 import 'package:compiler/src/diagnostics/diagnostic_listener.dart';
15 import 'package:compiler/src/diagnostics/source_span.dart'; 15 import 'package:compiler/src/diagnostics/source_span.dart';
16 import 'package:compiler/src/diagnostics/spannable.dart'; 16 import 'package:compiler/src/diagnostics/spannable.dart';
17 import 'package:compiler/src/elements/elements.dart'; 17 import 'package:compiler/src/elements/elements.dart';
18 import 'package:compiler/src/elements/visitor.dart'; 18 import 'package:compiler/src/elements/visitor.dart';
19 import 'package:compiler/src/js_backend/backend_helpers.dart' 19 import 'package:compiler/src/js_backend/backend_helpers.dart'
20 show BackendHelpers; 20 show BackendHelpers;
21 import 'package:compiler/src/js_backend/lookup_map_analysis.dart' 21 import 'package:compiler/src/js_backend/lookup_map_analysis.dart'
22 show LookupMapAnalysis; 22 show LookupMapAnalysis;
23 import 'package:compiler/src/io/source_file.dart'; 23 import 'package:compiler/src/io/source_file.dart';
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after
390 trustTypeAnnotations: trustTypeAnnotations, 390 trustTypeAnnotations: trustTypeAnnotations,
391 enableTypeAssertions: enableTypeAssertions, 391 enableTypeAssertions: enableTypeAssertions,
392 enableUserAssertions: enableUserAssertions, 392 enableUserAssertions: enableUserAssertions,
393 expectedErrors: expectedErrors, 393 expectedErrors: expectedErrors,
394 expectedWarnings: expectedWarnings, 394 expectedWarnings: expectedWarnings,
395 outputProvider: outputProvider); 395 outputProvider: outputProvider);
396 compiler.registerSource(uri, code); 396 compiler.registerSource(uri, code);
397 compiler.diagnosticHandler = createHandler(compiler, code); 397 compiler.diagnosticHandler = createHandler(compiler, code);
398 return compiler; 398 return compiler;
399 } 399 }
OLDNEW
« no previous file with comments | « tests/compiler/dart2js/mixin_typevariable_test.dart ('k') | tests/compiler/dart2js/related_types.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698