Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1419)

Unified Diff: pkg/dev_compiler/web/main.dart

Issue 2314193002: fix strong mode messages in pkg/dev_compiler (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/dev_compiler/test/codegen_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/dev_compiler/web/main.dart
diff --git a/pkg/dev_compiler/web/main.dart b/pkg/dev_compiler/web/main.dart
index 2216580b3d5ef07decfc60a61385c52d37125fbd..a604412628da261d70ec71606cb5b9baf2158582 100755
--- a/pkg/dev_compiler/web/main.dart
+++ b/pkg/dev_compiler/web/main.dart
@@ -29,7 +29,7 @@ Future<int> _runCommand(List<String> args,
// with ArgResults or ArgParsers.
var runner = new CommandRunner('dartdevc', 'Dart Development Compiler');
runner.addCommand(new WebCompileCommand(messageHandler: messageHandler));
- setUpCompilerInBrowser = allowInterop(await runner.run(args));
+ setUpCompilerInBrowser = allowInterop((await runner.run(args)) as Function);
} catch (e, s) {
return _handleError(e, s, args, messageHandler: messageHandler);
}
« no previous file with comments | « pkg/dev_compiler/test/codegen_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698