Skip to content

Commit e98c5e1

Browse files
committed
Fix: HasLink instance lacked a tag argument.
1 parent 22c02aa commit e98c5e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Servant/Multipart.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -429,8 +429,8 @@ instance {-# OVERLAPPING #-}
429429
LookupContext cs a => LookupContext (a ': cs) a where
430430
lookupContext _ (c :. _) = Just c
431431

432-
instance HasLink sub => HasLink (MultipartForm a :> sub) where
433-
type MkLink (MultipartForm a :> sub) = MkLink sub
432+
instance HasLink sub => HasLink (MultipartForm tag a :> sub) where
433+
type MkLink (MultipartForm tag a :> sub) = MkLink sub
434434
toLink _ = toLink (Proxy :: Proxy sub)
435435

436436
-- | The 'ToMultipartSample' class allows you to create sample 'MultipartData'

0 commit comments

Comments
 (0)