[Git][ghc/ghc][wip/marge_bot_batch_merge_job] 6 commits: users-guide: Fix directive errors on 8.10

Marge Bot gitlab at gitlab.haskell.org
Mon May 20 07:53:40 UTC 2019



 Marge Bot pushed to branch wip/marge_bot_batch_merge_job at Glasgow Haskell Compiler / GHC


Commits:
8e62556d by Takenobu Tani at 2019-05-20T07:53:34Z
users-guide: Fix directive errors on 8.10

The following sections are not displayed due to a directive error:

  * -Wunused-record-wildcards
  * -Wredundant-record-wildcards

I changed the location of the `since` directive.

[skip ci]

- - - - -
2b2a2e61 by Kirill Elagin at 2019-05-20T07:53:35Z
users-guide: Fix -rtsopts default
- - - - -
ba824849 by Javran Cheng at 2019-05-20T07:53:36Z
Fix doc for Data.Function.fix.

Doc-only change.

- - - - -
8953ebdc by Shayne Fletcher at 2019-05-20T07:53:37Z
Update resolver for for happy 1.19.10

- - - - -
6efcd7a0 by Ben Gamari at 2019-05-20T07:53:37Z
gitlab-ci: Allow Windows Hadrian build to fail

Due to #16574.
- - - - -
93a20981 by Ben Gamari at 2019-05-20T07:53:37Z
Update .gitlab-ci.yml
- - - - -


5 changed files:

- .gitlab-ci.yml
- docs/users_guide/phases.rst
- docs/users_guide/using-warnings.rst
- hadrian/stack.yaml
- libraries/base/Data/Function.hs


Changes:

=====================================
.gitlab-ci.yml
=====================================
@@ -560,6 +560,8 @@ validate-x86_64-linux-fedora27:
   stage: full-build
   variables:
     GHC_VERSION: "8.6.2"
+  # due to #16574 this currently fails
+  allow_failure: true
   script:
     - |
       python boot


=====================================
docs/users_guide/phases.rst
=====================================
@@ -937,7 +937,7 @@ for example).
     :type: dynamic
     :category: linking
 
-    :default: all
+    :default: some
 
     This option affects the processing of RTS control options given
     either on the command line or via the :envvar:`GHCRTS` environment


=====================================
docs/users_guide/using-warnings.rst
=====================================
@@ -1545,10 +1545,11 @@ of ``-W(no-)*``.
     :shortdesc: Warn about record wildcard matches when none of the bound variables
       are used.
     :type: dynamic
-    :since: 8.10.1
     :reverse: -Wno-unused-record-wildcards
     :category:
 
+    :since: 8.10.1
+
     .. index::
        single: unused, warning, record wildcards
 
@@ -1566,10 +1567,11 @@ of ``-W(no-)*``.
 .. ghc-flag:: -Wredundant-record-wildcards
     :shortdesc: Warn about record wildcard matches when the wildcard binds no patterns.
     :type: dynamic
-    :since: 8.10.1
     :reverse: -Wno-redundant-record-wildcards
     :category:
 
+    :since: 8.10.1
+
     .. index::
        single: unused, warning, record wildcards
 


=====================================
hadrian/stack.yaml
=====================================
@@ -1,7 +1,7 @@
 # For more information, see: http://docs.haskellstack.org/en/stable/yaml_configuration.html
 
 # Specifies the GHC version and set of packages available (e.g., lts-3.5, nightly-2015-09-21, ghc-7.10.2)
-resolver: lts-13.14
+resolver: lts-13.21
 
 # Local packages, usually specified by relative directory name
 packages:


=====================================
libraries/base/Data/Function.hs
=====================================
@@ -45,7 +45,7 @@ infixl 1 &
 -- 120
 --
 -- Instead of making a recursive call, we introduce a dummy parameter @rec@;
--- when used within 'fix', this parameter then refers to 'fix' argument, hence
+-- when used within 'fix', this parameter then refers to 'fix'’s argument, hence
 -- the recursion is reintroduced.
 fix :: (a -> a) -> a
 fix f = let x = f x in x



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/compare/41a37c10a42049db84e31a3b81ca506e34fdf1f3...93a20981f4471533f7496f2e03f9ca901a6cd89e

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/compare/41a37c10a42049db84e31a3b81ca506e34fdf1f3...93a20981f4471533f7496f2e03f9ca901a6cd89e
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20190520/edaad5d4/attachment-0001.html>


More information about the ghc-commits mailing list