Index: pkg/compiler/lib/src/dart2js.dart |
diff --git a/pkg/compiler/lib/src/dart2js.dart b/pkg/compiler/lib/src/dart2js.dart |
index e248bddb42c7e1ae5f0655f146a9b295d103da40..b05c77104dd4ac4555d27d960a627ffa9348153b 100644 |
--- a/pkg/compiler/lib/src/dart2js.dart |
+++ b/pkg/compiler/lib/src/dart2js.dart |
@@ -350,6 +350,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, |