Index: sdk/lib/_internal/compiler/implementation/dart2js.dart |
=================================================================== |
--- sdk/lib/_internal/compiler/implementation/dart2js.dart (revision 22848) |
+++ sdk/lib/_internal/compiler/implementation/dart2js.dart (working copy) |
@@ -212,6 +212,8 @@ |
(_) => passThrough('--enable-checked-mode')), |
new OptionHandler('--enable-concrete-type-inference', |
(_) => passThrough('--enable-concrete-type-inference')), |
+ new OptionHandler('--trust-type-annotations', |
+ (_) => passThrough('--trust-type-annotations')), |
new OptionHandler(r'--help|/\?|/h', (_) => wantHelp = true), |
new OptionHandler('--package-root=.+|-p.+', setPackageRoot), |
new OptionHandler('--disallow-unsafe-eval', passThrough), |