Default severity: warning
An exact same-type conversion cannot change a value or its method set. Remove it to make the type flow clearer.
Bad
normalized := UserID(existingUserID)Good
normalized := UserID(rawID)Detect conversions to the value's existing type.
Default severity: warning
An exact same-type conversion cannot change a value or its method set. Remove it to make the type flow clearer.
normalized := UserID(existingUserID)normalized := UserID(rawID)