-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Establish series/2.x against specs2 v5 #248
Conversation
and reformatted the fragments a bit to look better when using Scala 3
@@ -27,14 +27,16 @@ import org.specs2.SpecificationLike | |||
import org.specs2.specification.core.Fragments | |||
import org.specs2.scalacheck.Parameters | |||
|
|||
import scala.language.implicitConversions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needing this import on Scala 3 is troubling.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope, nevermind. This is right I think.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is warning btw:
[warn] -- Feature Warning: /workspace/discipline-specs2/core/src/main/scala/org/typelevel/discipline/specs2/mutable/Discipline.scala:40:55
[warn] 40 | if (n != ruleSet.all.properties.toList.size - 1) br
[warn] | ^^
[warn] |Use of implicit conversion object given_Conversion_Fragment_Fragments in object Fragments should be enabled
[warn] |by adding the import clause 'import scala.language.implicitConversions'
[warn] |or by setting the compiler option -language:implicitConversions.
[warn] |See the Scala docs for value scala.language.implicitConversions for a discussion
[warn] |why the feature should be explicitly enabled.
Supersedes #207.