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
When WartRemover is used with scala-newtype, it reports false positive FinalCaseClass wart.
As far as I know, there's no actual case class created for @newtype.
importio.estatico.newtype.macros.newtype@newtype caseclassName(value: String)
// [wartremover:FinalCaseClass] case classes must be final
2.13.8
3.0.4
When WartRemover is used with scala-newtype, it reports false positive
FinalCaseClass
wart.As far as I know, there's no actual
case class
created for@newtype
.You can see the actual one here.
https://scastie.scala-lang.org/1TbhXTWKRPiI0xZmMwUp9A
The text was updated successfully, but these errors were encountered: