anchor.diff:        }
       }
   
  -    var debugMode = options[_argDebugMode];
  -    if (debugMode != null && debugMode is! bool) {
  -      log('Invalid value "$_argDebugMode": $debugMode');
  -      debugMode = null;
  -    }
  -    var profileFor = options[_argProfileFor];
  -    if (profileFor != null && profileFor is! String) {
  -      log('Invalid value "$_argProfileFor": $profileFor');
  -      profileFor = null;
  -    }
  -    var useLegacyStyle = options[_argLegacyStyle];
  -    if (useLegacyStyle != null && useLegacyStyle is! bool) {
  -      log('Invalid value for "$_argLegacyStyle": $useLegacyStyle');
  -      useLegacyStyle = null;
  -    }
  +    final debugMode = options[_argDebugMode];
  +    final profileFor = options[_argProfileFor];
  +    final useLegacyStyle = options[_argLegacyStyle];
  +    final forceMinifyWhitespace = options[_argForceMinifyWhitespace];
  +    final emitComponentFactories = options[_argEmitComponentFactories];
  +    final emitInjectableFactories = options[_argEmitInjectableFactories];
  +
       return new CompilerFlags(
         genDebugInfo: debugMode ?? defaultTo.genDebugInfo,
         i18nEnabled: defaultTo.i18nEnabled,
         profileFor: _toProfile(profileFor, log) ?? defaultTo.profileFor,
         useLegacyStyleEncapsulation:
             useLegacyStyle ?? defaultTo.useLegacyStyleEncapsulation,
  +      forceMinifyWhitespace:
  +          forceMinifyWhitespace ?? defaultTo.forceMinifyWhitespace,
  +      emitComponentFactories:
  +          emitComponentFactories ?? defaultTo.emitComponentFactories,
  +      emitInjectableFactories:
  +          emitInjectableFactories ?? defaultTo.emitInjectableFactories,
       );
     }
   }
  
positive.code:         _argDebugMode,
          _argProfileFor,
          _argLegacyStyle,
        ].toSet();
        final unknownArgs = options.keys.toSet().difference(knownArgs);
        if (unknownArgs.isNotEmpty) {
  
negative.code:       help: ''
            'Whether to emit additional code that may be used by tooling '
            'in order to profile performance or other runtime information.',
      )
      ..addFlag(
        _argForceMinifyWhitespace,
        defaultsTo: null,
        hide: true,
      )
      ..addFlag(
        _argEmitComponentFactories,
        defaultsTo: null,
        hide: true,
      )
      ..addFlag(
        _argEmitInjectableFactories,
        defaultsTo: null,
        hide: true,
      );
  
    /// Whether to emit extra code suitable for testing and local development.
  