| Index: frog/frog_options.dart
|
| diff --git a/frog/frog_options.dart b/frog/frog_options.dart
|
| index 67e99a00f0cebf7a9437f5fa67622a5d2f1005f3..5ce8ed5e9e07e71e08da65994c3337d31d7de169 100644
|
| --- a/frog/frog_options.dart
|
| +++ b/frog/frog_options.dart
|
| @@ -39,6 +39,10 @@ class FrogOptions {
|
| bool compileOnly = false;
|
| bool inferTypes = false;
|
|
|
| + // Specifies non-compliant behavior where array bounds checks are
|
| + // not implemented in generated code.
|
| + bool disableBoundsChecks = false;
|
| +
|
| // Message support
|
| bool throwOnErrors = false;
|
| bool throwOnWarnings = false;
|
| @@ -150,6 +154,15 @@ class FrogOptions {
|
| inferTypes = true;
|
| break;
|
|
|
| + case '--checked':
|
| + enableTypeChecks = true;
|
| + enableAsserts = true;
|
| + break;
|
| +
|
| + case '--unchecked':
|
| + disableBoundsChecks = true;
|
| + break;
|
| +
|
| default:
|
| if (arg.endsWith('.dart')) {
|
| dartScript = arg;
|
|
|