| Index: lib/compiler/implementation/apiimpl.dart
|
| diff --git a/lib/compiler/implementation/apiimpl.dart b/lib/compiler/implementation/apiimpl.dart
|
| index 697f2ad26f7da30f560dd109106c94d757c03f0c..8972a99aa034fe0f9967c741f65b2fedf66341da 100644
|
| --- a/lib/compiler/implementation/apiimpl.dart
|
| +++ b/lib/compiler/implementation/apiimpl.dart
|
| @@ -28,7 +28,8 @@ class Compiler extends leg.Compiler {
|
| super(
|
| tracer: new ssa.HTracer(),
|
| enableTypeAssertions: options.indexOf('--enable-checked-mode') != -1,
|
| - emitJavascript: options.indexOf('--output-type=dart') == -1);
|
| + emitJavascript: options.indexOf('--output-type=dart') == -1,
|
| + validateUnparse: options.indexOf('--unparse-validation') !== -1);
|
|
|
| elements.LibraryElement scanBuiltinLibrary(String path) {
|
| Uri uri = libraryRoot.resolve(DART2JS_LIBRARY_MAP[path]);
|
|
|