In this post, we will see how to resolve Int Refined Positive doesn’t compile Question: The followfing code doesn’t compile: The error is: I used Scala 3.2.2 and latest Refined eu.timepit::refined:0.10.2 According to documentation https://github.com/fthomas/refined it shoud compile. Best Answer: ...