da49615c2c
Even if we assign to something that wants a different type, we might chain some property access on it later on, so it is not nice to don't suggest anything at all. Instead, we should give higher relevance to compatible types, but keep all the rest with default relevance, as we did already for everything other than instance creations. R=brianwilkerson@google.com Bug: https://github.com/flutter/flutter-intellij/issues/1107 Change-Id: I86c3c5dded4ad4cbbf28a60c0ae2847f07a3373b Reviewed-on: https://dart-review.googlesource.com/52863 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Konstantin Shcheglov <scheglov@google.com>