Fix Haddock syntax error and test failures introduced by #1459
This commit is contained in:
parent
5af7fe95ec
commit
51bdb66252
@ -1,3 +1,6 @@
|
||||
## 1.5.9.1
|
||||
* Fixes a Haddock syntax error in 1.5.9 [#1473](https://github.com/yesodweb/yesod/pull/1473)
|
||||
|
||||
## 1.5.9
|
||||
* Add byLabelExact and related functions
|
||||
[#1459](https://github.com/yesodweb/yesod/pull/1459)
|
||||
|
||||
@ -691,7 +691,7 @@ fileByLabel label path mime = do
|
||||
name <- genericNameFromLabel T.isInfixOf label
|
||||
addFile name path mime
|
||||
|
||||
-- | Finds the @\<label>@ with the given value, finds its corresponding @\<input>@, then adds a file for that input to the request body.
|
||||
-- | Finds the @\<label>@ with the given value, finds its corresponding @\<input>@, then adds a file for that input to the request body.
|
||||
--
|
||||
-- ==== __Examples__
|
||||
--
|
||||
|
||||
@ -1,3 +1,6 @@
|
||||
-- Ignore warnings about using deprecated byLabel/fileByLabel functions
|
||||
{-# OPTIONS_GHC -fno-warn-warnings-deprecations #-}
|
||||
|
||||
{-# LANGUAGE OverloadedStrings #-}
|
||||
{-# LANGUAGE ScopedTypeVariables #-}
|
||||
{-# LANGUAGE CPP #-}
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
name: yesod-test
|
||||
version: 1.5.9
|
||||
version: 1.5.9.1
|
||||
license: MIT
|
||||
license-file: LICENSE
|
||||
author: Nubis <nubis@woobiz.com.ar>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user