Index: pkg/compiler/lib/src/dart2js.dart |
diff --git a/pkg/compiler/lib/src/dart2js.dart b/pkg/compiler/lib/src/dart2js.dart |
index 7cccae2332e2841957fcca7e50443dcb2fc946e3..55d21e2e9acddedc8fd94310ba083c489f2144f9 100644 |
--- a/pkg/compiler/lib/src/dart2js.dart |
+++ b/pkg/compiler/lib/src/dart2js.dart |
@@ -356,6 +356,7 @@ Future<api.CompilationResult> compile(List<String> argv) { |
}), |
new OptionHandler('--enable[_-]checked[_-]mode|--checked', |
(_) => setCheckedMode(Flags.enableCheckedMode)), |
+ new OptionHandler(Flags.enableAsserts, passThrough), |
new OptionHandler(Flags.trustTypeAnnotations, |
(_) => setTrustTypeAnnotations(Flags.trustTypeAnnotations)), |
new OptionHandler(Flags.trustPrimitives, |