Add one more testcase

pull/132/head
Lennart Spitzner 2018-03-04 23:55:23 +01:00
parent 487c32175a
commit 46de13256b
1 changed files with 11 additions and 0 deletions

View File

@ -235,6 +235,17 @@ func
-> ColInfo -> ColInfo
-> m () -> m ()
#test forall context multiline with comments
{-# LANGUAGE RankNTypes #-}
addFlagStringParam
:: forall f out
. (Applicative f)
=> String -- ^ short flag chars, i.e. "v" for -v
-> [String] -- ^ list of long names, i.e. ["verbose"]
-> String -- ^ param name
-> Flag String -- ^ properties
-> CmdParser f out String
#test language pragma issue #test language pragma issue
{-# LANGUAGE ScopedTypeVariables #-} {-# LANGUAGE ScopedTypeVariables #-}
func :: forall (a :: *) b . a -> b func :: forall (a :: *) b . a -> b