Skip to content

Commit

Permalink
Merge pull request #4315 from TonioGela/scala_3_artifact_with_scala_2
Browse files Browse the repository at this point in the history
Recreated compat as a package object in scala_3 to make the artifact usable from scala 2
  • Loading branch information
armanbilge authored Oct 12, 2022
2 parents 3ffee33 + f7e0d3e commit 3656491
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

package cats.compat
package cats

private[cats] type targetName = scala.annotation.targetName
package object compat {
private[cats] type targetName = scala.annotation.targetName
}
4 changes: 4 additions & 0 deletions mima.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,10 @@ ThisBuild / mimaBinaryIssueFilters ++= {
exclude[ReversedAbstractMethodProblem]("cats.free.ContravariantCoyoneda.k"),
exclude[DirectAbstractMethodProblem]("cats.free.Coyoneda.k"),
exclude[ReversedAbstractMethodProblem]("cats.free.Coyoneda.k")
) ++ // https://github.com/typelevel/cats/pull/4315
Seq(
exclude[MissingClassProblem]("cats.compat.compat$package"),
exclude[MissingClassProblem]("cats.compat.compat$package$")
)
}

Expand Down

0 comments on commit 3656491

Please sign in to comment.