| Index: pkg/dart2js_incremental/lib/library_updater.dart
|
| diff --git a/pkg/dart2js_incremental/lib/library_updater.dart b/pkg/dart2js_incremental/lib/library_updater.dart
|
| index 217abdb2d4853783d13c2de8ca69473bba837605..bc269e2d7cea25f2842ad8d79d43c7e86bf2cde8 100644
|
| --- a/pkg/dart2js_incremental/lib/library_updater.dart
|
| +++ b/pkg/dart2js_incremental/lib/library_updater.dart
|
| @@ -995,9 +995,13 @@ if (this.pendingStubs) {
|
| }
|
|
|
| String prettyPrintJs(jsAst.Node node) {
|
| - jsAst.Printer printer = new jsAst.Printer(compiler, null);
|
| + jsAst.JavaScriptPrintingOptions options =
|
| + new jsAst.JavaScriptPrintingOptions();
|
| + jsAst.JavaScriptPrintingContext context =
|
| + new jsAst.Dart2JSJavaScriptPrintingContext(compiler, null);
|
| + jsAst.Printer printer = new jsAst.Printer(options, context);
|
| printer.blockOutWithoutBraces(node);
|
| - return printer.outBuffer.getText();
|
| + return context.outBuffer.getText();
|
| }
|
|
|
| String callNameFor(FunctionElement element) {
|
|
|