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
RyanCavanaugh
added
Duplicate
An existing issue was already created
and removed
External
Relates to another program, environment, or user action which we cannot control.
labels
May 8, 2017
TypeScript Version: 2.2.1 / nightly (2.2.0-dev.201xxxxx)
Code
Expected behavior:
The file field always contains a SourceFile as the Diagnostic type specifies,
or the Diagnostic type should mark the
file
field as optional.Actual behavior:
file is missing in the compiler diagnostics sent back (and probably cannot be provided).
The origin of these 'incomplete' diagnostics is likely https://github.com/Microsoft/TypeScript/blob/2150a7796b0dfe83c5286755410e0fd1646ed86c/src/compiler/core.ts#L1235-L1251
The text was updated successfully, but these errors were encountered: