Revert "Merge pull request #2639 from Hixie/always_specify_types"

This reverts commit f41b3411da, reversing
changes made to e33d8d9621.

This was a bad check-in due to my mangling uploading a new version of the branch from a different machine.

This reverts https://github.com/flutter/flutter/pull/2639 and will be replaced by https://github.com/flutter/flutter/pull/2640
This commit is contained in:
Ian Hickson
2016-03-12 00:34:37 -08:00
parent f41b3411da
commit 43b0104114
113 changed files with 689 additions and 770 deletions

View File

@@ -37,7 +37,7 @@ import 'src/runner/flutter_command_runner.dart';
/// Main entry point for commands.
///
/// This function is intended to be used from the [flutter] command line tool.
Future<Null> main(List<String> args) async {
Future main(List<String> args) async {
bool help = args.contains('-h') || args.contains('--help');
bool verbose = args.contains('-v') || args.contains('--verbose');
bool verboseHelp = help && verbose;
@@ -73,7 +73,7 @@ Future<Null> main(List<String> args) async {
if (result is int)
exit(result);
}, onError: (dynamic error, Chain chain) {
}, onError: (error, Chain chain) {
if (error is UsageException) {
stderr.writeln(error);
// Argument error exit code.