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

Side by Side Diff: lib/src/codegen/reify_coercions.dart

Issue 1406983003: Remove the checker and corresponding dead code (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Created 5 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
« no previous file with comments | « lib/src/codegen/js_codegen.dart ('k') | lib/src/compiler.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 dev_compiler.src.codegen.reify_coercions; 5 library dev_compiler.src.codegen.reify_coercions;
6 6
7 import 'package:analyzer/analyzer.dart' as analyzer; 7 import 'package:analyzer/analyzer.dart' as analyzer;
8 import 'package:analyzer/src/generated/ast.dart'; 8 import 'package:analyzer/src/generated/ast.dart';
9 import 'package:analyzer/src/generated/element.dart'; 9 import 'package:analyzer/src/generated/element.dart';
10 import 'package:analyzer/src/task/strong/rules.dart';
10 import 'package:logging/logging.dart' as logger; 11 import 'package:logging/logging.dart' as logger;
11 12
12 import '../checker/rules.dart';
13 import '../info.dart'; 13 import '../info.dart';
14 14
15 import 'ast_builder.dart'; 15 import 'ast_builder.dart';
16 16
17 final _log = new logger.Logger('dev_compiler.reify_coercions'); 17 final _log = new logger.Logger('dev_compiler.reify_coercions');
18 18
19 // TODO(leafp) Factor this out or use an existing library 19 // TODO(leafp) Factor this out or use an existing library
20 class Tuple2<T0, T1> { 20 class Tuple2<T0, T1> {
21 final T0 e0; 21 final T0 e0;
22 final T1 e1; 22 final T1 e1;
(...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after
493 var t = _mkNewTypeName(dType, id, args); 493 var t = _mkNewTypeName(dType, id, args);
494 return t; 494 return t;
495 } 495 }
496 496
497 TypeName _mkNewTypeName(DartType type, Identifier id, List<TypeName> args) { 497 TypeName _mkNewTypeName(DartType type, Identifier id, List<TypeName> args) {
498 var t = AstBuilder.typeName(id, args); 498 var t = AstBuilder.typeName(id, args);
499 t.type = type; 499 t.type = type;
500 return t; 500 return t;
501 } 501 }
502 } 502 }
OLDNEW
« no previous file with comments | « lib/src/codegen/js_codegen.dart ('k') | lib/src/compiler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698