-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
area:reportingError reporting including formatting, implicit suggestions, etcError reporting including formatting, implicit suggestions, etcbetter-errorsIssues concerned with improving confusing/unhelpful diagnostic messagesIssues concerned with improving confusing/unhelpful diagnostic messagesitype:bug
Description
Compiler version
3.7.2
Minimized example
object test {
val _ = s"${Some(1)}"
}
Output Error/Warning message
Using the flag -Wtostring-interpolated
-- Warning: to_string.scala:2:18 -------------------------
2 | val _ = s"${Some(1)}"
| ^^^^^^^
| interpolation uses toString
1 warning found
Why this Error/Warning was not helpful
The message does not contain a error id like most other warnings.
Suggested improvement
It could be made more useful by containing a error id.
Metadata
Metadata
Assignees
Labels
area:reportingError reporting including formatting, implicit suggestions, etcError reporting including formatting, implicit suggestions, etcbetter-errorsIssues concerned with improving confusing/unhelpful diagnostic messagesIssues concerned with improving confusing/unhelpful diagnostic messagesitype:bug