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; |
} |
} |