Skip to content

Commit

Permalink
fixup! fixup! fixup! Redesign context implementation
Browse files Browse the repository at this point in the history
another missing Key type bound
  • Loading branch information
NthPortal committed Sep 29, 2023
1 parent f07b4a8 commit 2f6fca9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ object Context {
/** A type alias for a [[`Context`]] explicitly parameterized by its
* [[Context.Key `Key`]] type.
*/
type Keyed[C, K[_]] = Context[C] { type Key[A] = K[A] }
type Keyed[C, K[X] <: Key[X]] = Context[C] { type Key[A] = K[A] }

/** Summons a [[`Context`]] that is available implicitly. */
def apply[C](implicit c: Context[C]): Context[C] = c
Expand Down

0 comments on commit 2f6fca9

Please sign in to comment.