| Index: lib/compiler/implementation/dart_backend/backend.dart
|
| diff --git a/lib/compiler/implementation/dart_backend/backend.dart b/lib/compiler/implementation/dart_backend/backend.dart
|
| index 6f04207759e80dd5e9045a8e08c617827dc0dee8..0f9ec2b54a12308d9798526044d4b42cdb481b2d 100644
|
| --- a/lib/compiler/implementation/dart_backend/backend.dart
|
| +++ b/lib/compiler/implementation/dart_backend/backend.dart
|
| @@ -99,7 +99,7 @@ class FunctionBodyRewriter extends CloningVisitor {
|
|
|
| class DartBackend extends Backend {
|
| final List<CompilerTask> tasks;
|
| - final bool cutDeclarationTypes;
|
| + final bool forceCutDeclarationTypes;
|
| // TODO(antonm): make available from command-line options.
|
| final bool outputAst = false;
|
|
|
| @@ -172,7 +172,7 @@ class DartBackend extends Backend {
|
| return true;
|
| }
|
|
|
| - DartBackend(Compiler compiler, this.cutDeclarationTypes)
|
| + DartBackend(Compiler compiler, this.forceCutDeclarationTypes)
|
| : tasks = <CompilerTask>[],
|
| super(compiler);
|
|
|
| @@ -320,7 +320,7 @@ class DartBackend extends Backend {
|
| // Create renames.
|
| Map<Node, String> renames = new Map<Node, String>();
|
| Map<LibraryElement, String> imports = new Map<LibraryElement, String>();
|
| - bool shouldCutDeclarationTypes = cutDeclarationTypes
|
| + bool shouldCutDeclarationTypes = forceCutDeclarationTypes
|
| || (compiler.enableMinification
|
| && isSafeToRemoveTypeDeclarations(classMembers));
|
| renamePlaceholders(
|
|
|