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
Currently, every new version requires adding a new error code and diagnostic (for example ErrorCode.ERR_FeatureNotAvailableInVersion7_2). But this could be parameterized instead.
Could we please get a property in the error message that would say which feature the error targets? It would be helpful for a certain kind of code fixes which look for this error to find usages of a language feature that cannot be used in the current language version and offer to convert it to something that does exist in this version (for example an out-var into a declared variable). These fixes would need to know that the diagnostic relates to the feature they're looking for. Would that be possible? Thanks.
Currently, every new version requires adding a new error code and diagnostic (for example
ErrorCode.ERR_FeatureNotAvailableInVersion7_2
). But this could be parameterized instead.Relates to #19846 (review)
The text was updated successfully, but these errors were encountered: