Skip to content

Fix/remove shapeless from scalacheck string module#1157

Merged
fthomas merged 3 commits intofthomas:masterfrom
err0r500:fix/remove-shapeless-from-scalacheck-string-module
Mar 3, 2023
Merged

Fix/remove shapeless from scalacheck string module#1157
fthomas merged 3 commits intofthomas:masterfrom
err0r500:fix/remove-shapeless-from-scalacheck-string-module

Conversation

@err0r500
Copy link
Contributor

@err0r500 err0r500 commented Mar 3, 2023

Removes shapeless from eu.timepit.refined.scalacheck string arbitraries. (as discussed in #1156 ) in order to bring scala3 compatibility.

NB :

  • I had to remove NativePlatform from scalacheck build matrix in order to get it to work :(
  • I took the liberty to add 2 tests in order to check that changes actually fix the issue

@mergify mergify bot added the scalacheck label Mar 3, 2023
@err0r500
Copy link
Contributor Author

err0r500 commented Mar 3, 2023

wow, looks like I broke everything !

@fthomas
Copy link
Owner

fthomas commented Mar 3, 2023

Yeah, we need to duplicate the sources for Scala 2 and Scala 3 to preserve binary compatibility. My last commit did that.

@codecov
Copy link

codecov bot commented Mar 3, 2023

Codecov Report

Merging #1157 (2c3f99a) into master (6b44f77) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1157   +/-   ##
=======================================
  Coverage   92.66%   92.66%           
=======================================
  Files          63       63           
  Lines         832      832           
  Branches       26       26           
=======================================
  Hits          771      771           
  Misses         61       61           
Impacted Files Coverage Δ
...a-3.0-/eu/timepit/refined/scalacheck/generic.scala 100.00% <ø> (ø)
...la-3.0-/eu/timepit/refined/scalacheck/string.scala 100.00% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@fthomas fthomas linked an issue Mar 3, 2023 that may be closed by this pull request
@fthomas fthomas merged commit 286a293 into fthomas:master Mar 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

refined-scalacheck all values discarded

2 participants