Closed
Description
I am getting messages about code that can be "rewritten automatically under -rewrite", such as the following:
[error] -- Error: /Users/rnorris/Scala/atto/modules/fs2/src/test/scala/atto/fs2/PipesTest.scala:14:86
[error] 14 | property("parse1 parses single value correctly") = forAll(Gen.posNum[Int]) { i: Int =>
[error] | ^
[error] | parentheses are required around the parameter of a lambda
[error] | This construct can be rewritten automatically under -rewrite.
but adding -rewrite
to my scalacOptions
in sbt has no effect.