Fix Haddock syntax error and test failures introduced by #1459

This commit is contained in:
Maximilian Tagher 2017-12-29 20:14:09 -05:00
parent 5af7fe95ec
commit 51bdb66252
4 changed files with 8 additions and 2 deletions

View File

@ -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 ## 1.5.9
* Add byLabelExact and related functions * Add byLabelExact and related functions
[#1459](https://github.com/yesodweb/yesod/pull/1459) [#1459](https://github.com/yesodweb/yesod/pull/1459)

View File

@ -691,7 +691,7 @@ fileByLabel label path mime = do
name <- genericNameFromLabel T.isInfixOf label name <- genericNameFromLabel T.isInfixOf label
addFile name path mime 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__ -- ==== __Examples__
-- --

View File

@ -1,3 +1,6 @@
-- Ignore warnings about using deprecated byLabel/fileByLabel functions
{-# OPTIONS_GHC -fno-warn-warnings-deprecations #-}
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE ScopedTypeVariables #-} {-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE CPP #-} {-# LANGUAGE CPP #-}

View File

@ -1,5 +1,5 @@
name: yesod-test name: yesod-test
version: 1.5.9 version: 1.5.9.1
license: MIT license: MIT
license-file: LICENSE license-file: LICENSE
author: Nubis <nubis@woobiz.com.ar> author: Nubis <nubis@woobiz.com.ar>