Reject deprecated language features.

Or rather, provide the following options which do:

  --reject-deprecated-language-features
    Reject deprecated language features.  Without this option, the
    compiler will accept language features that are no longer valid
    according to The Dart Programming Language Specification, version
    0.12, M1.

  --report-sdk-use-of-deprecated-language-features
    Report use of deprecated features in Dart platform libraries.
    Without this option, the compiler will silently accept use of
    deprecated language features from these libraries.  The option
    --reject-deprecated-language-features controls if these usages are
    reported as errors or warnings.

Review URL: https://codereview.chromium.org//11416004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15007 260f80e4-7a28-3924-810f-c04153c831b5
15 files changed