You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Today, an unresolved type, or the type of an unresolved variable will look something like any. Internally, these resolve to a well-known error type that semantically acts as any.
However, in #37713, we may not have a full picture of the world because we're limited to a single file.
I think we should consider doing two things
In the syntactic mode, the type of any unresolved symbol should be of a new any-like type called loading.
anywhere else, usage of an unresolved type should "stick around" and be recognized as a type reference to an extremely permissive type. This could be implemented through something similar to Ensure find-all-refs works on unresolved locals #38836
According to @CyrusNajmabadi, Roslyn already does something really similar to this.
Today, an unresolved type, or the type of an unresolved variable will look something like
any. Internally, these resolve to a well-known error type that semantically acts asany.However, in #37713, we may not have a full picture of the world because we're limited to a single file.
I think we should consider doing two things
any-like type calledloading.According to @CyrusNajmabadi, Roslyn already does something really similar to this.