f7d5061350
When we resolve a file partially, there is no fully resolved CompilationUnit. So, anything we create for completion should be based on element models and a resolved, or unresolved AstNode. In a following CL I will make it possible to create instances of DartCompletionRequest based on such element models and node. Change-Id: Ief7e376588bb63f4d898e33299a9fd2014c88843 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/219748 Commit-Queue: Konstantin Shcheglov <scheglov@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>