| Index: lib/compiler/implementation/compiler.dart
|
| diff --git a/lib/compiler/implementation/compiler.dart b/lib/compiler/implementation/compiler.dart
|
| index a9c6928b8e558b95d859de3a91669c807d94f90d..70ed9c234b323d563db8181bb274348e4d3865fe 100644
|
| --- a/lib/compiler/implementation/compiler.dart
|
| +++ b/lib/compiler/implementation/compiler.dart
|
| @@ -191,7 +191,7 @@ class Compiler implements DiagnosticListener {
|
| this.enableMinification = false,
|
| bool emitJavaScript = true,
|
| bool generateSourceMap = true,
|
| - bool forceCutDeclarationTypes = false])
|
| + List<String> strips = const []])
|
| : libraries = new Map<String, LibraryElement>(),
|
| progress = new Stopwatch() {
|
| progress.start();
|
| @@ -207,7 +207,7 @@ class Compiler implements DiagnosticListener {
|
| typesTask = new ti.TypesTask(this);
|
| backend = emitJavaScript ?
|
| new js_backend.JavaScriptBackend(this, generateSourceMap) :
|
| - new dart_backend.DartBackend(this, forceCutDeclarationTypes);
|
| + new dart_backend.DartBackend(this, strips);
|
| constantHandler = new ConstantHandler(this, backend.constantSystem);
|
| enqueuer = new EnqueueTask(this);
|
| tasks = [scanner, dietParser, parser, resolver, closureToClassMapper,
|
|
|