scala3 icon indicating copy to clipboard operation
scala3 copied to clipboard

Check OrType in interpolated toString lint

Open som-snytt opened this issue 6 months ago • 0 comments

Fixes #23361

If an arg to a interpolator is a conditional or match, the expression type may be an OrType, so check both parts for non-Strings for which toString is used for interpolation.

som-snytt avatar Jun 14 '25 05:06 som-snytt