| Index: pkg/compiler/lib/src/js_backend/backend.dart
|
| diff --git a/pkg/compiler/lib/src/js_backend/backend.dart b/pkg/compiler/lib/src/js_backend/backend.dart
|
| index 7a6b935605d5a293a9c130b67bc5e69568fd1012..e943cf8838e085610476fdf99ca29b4db1a15760 100644
|
| --- a/pkg/compiler/lib/src/js_backend/backend.dart
|
| +++ b/pkg/compiler/lib/src/js_backend/backend.dart
|
| @@ -574,14 +574,16 @@ class JavaScriptBackend {
|
|
|
| /// Resolution analysis for tracking reflective access to type variables.
|
| TypeVariableResolutionAnalysis get typeVariableResolutionAnalysis {
|
| - assert(invariant(NO_LOCATION_SPANNABLE, _typeVariableCodegenAnalysis == null,
|
| + assert(invariant(
|
| + NO_LOCATION_SPANNABLE, _typeVariableCodegenAnalysis == null,
|
| message: "TypeVariableHandler has already been created."));
|
| return _typeVariableResolutionAnalysis;
|
| }
|
|
|
| /// Codegen handler for reflective access to type variables.
|
| TypeVariableCodegenAnalysis get typeVariableCodegenAnalysis {
|
| - assert(invariant(NO_LOCATION_SPANNABLE, _typeVariableCodegenAnalysis != null,
|
| + assert(invariant(
|
| + NO_LOCATION_SPANNABLE, _typeVariableCodegenAnalysis != null,
|
| message: "TypeVariableHandler has not been created yet."));
|
| return _typeVariableCodegenAnalysis;
|
| }
|
| @@ -906,7 +908,8 @@ class JavaScriptBackend {
|
| /// Creates an [Enqueuer] for code generation specific to this backend.
|
| CodegenEnqueuer createCodegenEnqueuer(
|
| CompilerTask task, Compiler compiler, ClosedWorld closedWorld) {
|
| - _typeVariableCodegenAnalysis = new TypeVariableCodegenAnalysis(this, helpers, mirrorsData);
|
| + _typeVariableCodegenAnalysis =
|
| + new TypeVariableCodegenAnalysis(this, helpers, mirrorsData);
|
| _lookupMapAnalysis = new LookupMapAnalysis(
|
| reporter,
|
| constantSystem,
|
|
|