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

Unified Diff: lib/src/codegen/reify_coercions.dart

Issue 1401273002: Move DDC to analyzer-based checker (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: rebase 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/src/codegen/js_codegen.dart ('k') | lib/src/compiler.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/codegen/reify_coercions.dart
diff --git a/lib/src/codegen/reify_coercions.dart b/lib/src/codegen/reify_coercions.dart
index 8a2c5423e38eff65589174ad4f3173304672646b..3bf1d9111293de674025e4b51da7712d135472fc 100644
--- a/lib/src/codegen/reify_coercions.dart
+++ b/lib/src/codegen/reify_coercions.dart
@@ -9,7 +9,6 @@ import 'package:analyzer/src/generated/ast.dart';
import 'package:analyzer/src/generated/element.dart';
import 'package:logging/logging.dart' as logger;
-import '../compiler.dart' show AbstractCompiler;
import '../checker/rules.dart';
import '../info.dart';
@@ -100,11 +99,11 @@ class CoercionReifier extends analyzer.GeneralizingAstVisitor<Object> {
CoercionReifier._(
this._cm, this._tm, this._vm, this._library, this._inferrer);
- factory CoercionReifier(LibraryUnit library, AbstractCompiler compiler) {
+ factory CoercionReifier(LibraryUnit library, TypeRules rules) {
var vm = new VariableManager();
var tm = new TypeManager(library.library.element.enclosingElement, vm);
var cm = new CoercionManager(vm, tm);
- var inferrer = new _Inference(compiler.rules, tm);
+ var inferrer = new _Inference(rules, tm);
return new CoercionReifier._(cm, tm, vm, library, inferrer);
}
« 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