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

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

Issue 2667753003: Shut up bad analyzer warning (Closed)
Patch Set: Created 3 years, 11 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/dev_compiler/web/web_command.dart
diff --git a/pkg/dev_compiler/web/web_command.dart b/pkg/dev_compiler/web/web_command.dart
index 1af52ce890d423180d9f3762778cbf550fcbcf25..91a569602ee3c59ab7b26566ed678dbab2c00626 100644
--- a/pkg/dev_compiler/web/web_command.dart
+++ b/pkg/dev_compiler/web/web_command.dart
@@ -207,7 +207,8 @@ class WebCompileCommand extends Command {
code: moduleCode, isValid: module.isValid, errors: module.errors);
};
- return allowInterop(compileFn);
+ // TODO(vsm): Cast is due to https://github.com/dart-lang/sdk/issues/28507
+ return allowInterop(compileFn) as CompileModule;
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698