scheglov@scheglov-macbookpro4:~/Source/Dart/sdk.git/sdk/pkg/analyzer (master)$ pub global run dart2_fix
Checking /Users/scheglov/Source/Dart/sdk.git/sdk/pkg/analyzer...
Found 0 fixes in 2.9s.
Has fixes, time is reported.
scheglov@scheglov-macbookpro4:~/Source/Dart/sdk.git/sdk/pkg/dev_compiler (master)$ pub global run dart2_fix
Checking /Users/scheglov/Source/Dart/sdk.git/sdk/pkg/dev_compiler...
bin/dartdevc.dart
line 57 • UTF8 => utf8
bin/dartdevk.dart
line 40 • UTF8 => utf8
lib/src/analyzer/module_compiler.dart
line 6 • JSON => json
line 474 • JSON => json
line 501 • JSON => json
line 515 • JSON => json
lib/src/kernel/command.dart
line 6 • JSON => json
line 216 • JSON => json
test/worker/worker_test.dart
line 123 • UTF8 => utf8
line 373 • UTF8 => utf8
tool/kernel_sdk.dart
line 7 • JSON => json
line 63 • JSON => json
web/web_command.dart
line 271 • JSON => json
line 284 • JSON => json
Found 14 fixes in 10.2s.
To apply these fixes, run again using the --apply argument.
Has an error, no time is reported.
scheglov@scheglov-macbookpro4:~/Source/Dart/sdk.git/sdk/pkg/analysis_server (master)$ pub global run dart2_fix
Checking /Users/scheglov/Source/Dart/sdk.git/sdk/pkg/analysis_server...
error • test/integration/analysis/reanalyze_concurrent_test.dart:27 • Annotation must be either a const variable reference or const constructor invocation
Found 1 analysis error.
No fixes, time is reported.
Has fixes, time is reported.
Has an error, no time is reported.