Index: sdk/lib/_internal/compiler/implementation/compiler.dart |
=================================================================== |
--- sdk/lib/_internal/compiler/implementation/compiler.dart (revision 22847) |
+++ sdk/lib/_internal/compiler/implementation/compiler.dart (working copy) |
@@ -1024,6 +1024,7 @@ |
if (message is TypeWarning) { |
// TODO(ahe): Don't supress these warning when the type checker |
// is more complete. |
+ if (identical(message.message.kind, MessageKind.NOT_ASSIGNABLE)) return; |
if (identical(message.message.kind, MessageKind.MISSING_RETURN)) return; |
if (identical(message.message.kind, MessageKind.MAYBE_MISSING_RETURN)) { |
return; |