Skip to content

Commit

Permalink
Fix 2.10 as well
Browse files Browse the repository at this point in the history
  • Loading branch information
Luka Jacobowitz committed Feb 1, 2018
1 parent 7525ca8 commit 9db1fbb
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions core/src/main/scala/cats/data/NonEmptyMapImpl.scala
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,14 @@ import cats.{Always, Apply, Eval, Foldable, Functor, Later, NonEmptyTraverse, No

import scala.collection.immutable._


object NonEmptyMapImpl extends NonEmptyMapInstances {

private[data] trait Newtype2 { self =>
type Base
trait Tag extends Any
type Type[A, B] <: Base with Tag
}


object NonEmptyMapImpl extends NonEmptyMapInstances with Newtype2 {

private[cats] def create[K, A](m: SortedMap[K, A]): Type[K, A] =
m.asInstanceOf[Type[K, A]]
Expand Down

0 comments on commit 9db1fbb

Please sign in to comment.