diff --git a/laws/src/main/scala/cats/laws/NonEmptyTraverseLaws.scala b/laws/src/main/scala/cats/laws/NonEmptyTraverseLaws.scala index e89d7d4ac5..6955e5de83 100644 --- a/laws/src/main/scala/cats/laws/NonEmptyTraverseLaws.scala +++ b/laws/src/main/scala/cats/laws/NonEmptyTraverseLaws.scala @@ -1,6 +1,8 @@ package cats.laws -import cats.{Apply, Id, NonEmptyTraverse, Semigroup} +// The `catsInstancesForId` import is necessary to work around a Dotty +// issue related to https://github.com/lampepfl/dotty/issues/9067. +import cats.{catsInstancesForId, Apply, Id, NonEmptyTraverse, Semigroup} import cats.data.{Const, Nested} import cats.syntax.nonEmptyTraverse._ import cats.syntax.reducible._