-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Labels
code qualityConcerns the standard of code rather than functionalityConcerns the standard of code rather than functionalityminorHas only a small impact for the majority of usersHas only a small impact for the majority of users
Description
When the type of an expression that's substituted into an interpolated string is Nothing
, it probably means that the value is erroneous, and a message has already been emitted. If we can detect that the value is Nothing
as the result of an error, then we don't need to emit another message, since doing so distracts from the "real" error. But if the user really does try to substitute Nothing
into an interpolated string, we should emit an error.
If it's impossible to distinguish between Nothing
and and error, then we should update the error message to indicate that it's probably because of another error.
Metadata
Metadata
Assignees
Labels
code qualityConcerns the standard of code rather than functionalityConcerns the standard of code rather than functionalityminorHas only a small impact for the majority of usersHas only a small impact for the majority of users
Projects
Status
Todo