| Index: pkg/compiler/lib/src/dump_info.dart
|
| diff --git a/pkg/compiler/lib/src/dump_info.dart b/pkg/compiler/lib/src/dump_info.dart
|
| index 9f1efbc8824981909919fbab88743c0fdfbdc5d4..65a29e61acf345243db910d7df572a68439a85ee 100644
|
| --- a/pkg/compiler/lib/src/dump_info.dart
|
| +++ b/pkg/compiler/lib/src/dump_info.dart
|
| @@ -9,6 +9,7 @@ import 'dart:convert'
|
|
|
| import 'package:dart2js_info/info.dart';
|
|
|
| +import '../compiler_new.dart';
|
| import 'closure.dart';
|
| import 'common/tasks.dart' show CompilerTask;
|
| import 'common.dart';
|
| @@ -539,7 +540,8 @@ class DumpInfoTask extends CompilerTask implements InfoReporter {
|
| infoCollector = new ElementInfoCollector(compiler, closedWorld)..run();
|
| StringBuffer jsonBuffer = new StringBuffer();
|
| dumpInfoJson(jsonBuffer, closedWorld);
|
| - compiler.outputProvider('', 'info.json')
|
| + compiler.outputProvider(compiler.options.outputUri.pathSegments.last,
|
| + 'info.json', OutputType.info)
|
| ..add(jsonBuffer.toString())
|
| ..close();
|
| });
|
|
|