| Index: pkg/dev_compiler/lib/src/compiler/code_generator.dart
|
| diff --git a/pkg/dev_compiler/lib/src/compiler/code_generator.dart b/pkg/dev_compiler/lib/src/compiler/code_generator.dart
|
| index 46ddce3a113ef5075e19c3fb9df4dd2221d2b645..d4069072afdc15a04bf9e717848d7a34c0434d1a 100644
|
| --- a/pkg/dev_compiler/lib/src/compiler/code_generator.dart
|
| +++ b/pkg/dev_compiler/lib/src/compiler/code_generator.dart
|
| @@ -60,7 +60,7 @@ class CodeGenerator extends GeneralizingAstVisitor
|
| final SummaryDataStore summaryData;
|
|
|
| final CompilerOptions options;
|
| - final rules = new StrongTypeSystemImpl();
|
| + final StrongTypeSystemImpl rules;
|
|
|
| /// The set of libraries we are currently compiling, and the temporaries used
|
| /// to refer to them.
|
| @@ -159,6 +159,7 @@ class CodeGenerator extends GeneralizingAstVisitor
|
| CodeGenerator(
|
| AnalysisContext c, this.summaryData, this.options, this._extensionTypes)
|
| : context = c,
|
| + rules = new StrongTypeSystemImpl(c.typeProvider),
|
| types = c.typeProvider,
|
| _asyncStreamIterator =
|
| _getLibrary(c, 'dart:async').getType('StreamIterator').type,
|
|
|