Migrate enable-strict-call-checks flag to options file.

As per https://github.com/dart-lang/sdk/issues/25723, moves last command-line flag to `.analysis_options`.
This commit is contained in:
pq
2016-04-11 14:05:44 -07:00
parent 9b2d2ad9d2
commit f270c3d069
2 changed files with 1 additions and 1 deletions

View File

@@ -11,6 +11,7 @@
analyzer:
language:
enableStrictCallChecks: true
enableSuperMixins: true
strong-mode: true
errors:

View File

@@ -295,7 +295,6 @@ class AnalyzeCommand extends FlutterCommand {
sdkBinaryName('dartanalyzer'),
// do not set '--warnings', since that will include the entire Dart SDK
'--ignore-unrecognized-flags',
'--enable-strict-call-checks', //TODO(pq): migrate to options once supported (dart/sdk#25983)
'--enable_type_checks',
'--package-warnings',
'--fatal-warnings',