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); |
} |