scalatags icon indicating copy to clipboard operation
scalatags copied to clipboard

Remove UnitFrag (closes #249)

Open niklasf opened this issue 2 years ago • 1 comments

Prevents accidentally using if without else in Scala 3, which now always evaluates to (). Of course this is a breaking change, but still better than silent breakage.

niklasf avatar Dec 27 '22 21:12 niklasf

You can try to remove just the implicit keyword to make the change binary compatible, so existing code compiled with 0.12.0 will continue to work with newer versions.

lolgab avatar Jan 07 '24 21:01 lolgab