summaryrefslogtreecommitdiff
path: root/docs/users_guide/7.10.3-notes.xml
blob: e17d96a453e80c0ff5e6b941ffc06f865bd7b980 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
<?xml version="1.0" encoding="iso-8859-1"?>
<sect1 id="release-7-10-3">
  <title>Release notes for version 7.10.3</title>

  <para>
    The 7.10.3 release is a bugfix release, with over fifty bug fixes
    relative to 7.10.2. The major fixes are listed below. For the full
    list with more detail, see the <ulink
    url="https://ghc.haskell.org/trac/ghc/milestone/7.10.3">GHC 7.10.3
    milestone</ulink> on our bug tracker.
  </para>

  <sect2>
    <title>GHC</title>

    <itemizedlist>
      <listitem>
        <para>The simplifier no longer simplifies rewrite rules.</para>
        <para>
          Starting with 7.10.2 GHC would simplify both the left- and
          right-hand-sides of rewrite rules, causing a variety of unexpected behavior.
          Simplification of the LHS resulted in various rules to fail to fire (<ulink
          href="https://ghc.haskell.org/trac/ghc/ticket/10528">Trac #10528</ulink>, in
          particular affecting the widely used <literal>text</literal> library)
          whereas rewrites of the RHS broke some of the more exotic uses of rewrite rules
          (e.g. HERMIT, <ulink href="https://ghc.haskell.org/trac/ghc/ticket/10829">Trac
          #10829).</ulink>
        </para>
      </listitem>

      <listitem>
        <para>
          A bug in the simplifier's treatment of phantom type variables in rules
          resulting in a compiler-crash has been fixed. (<ulink
          href="https://ghc.haskell.org/trac/ghc/ticket/10689">Trac #10689</ulink>).
        </para>
      </listitem>

      <listitem>
        <para>
          A simplifier bug resulting in incorrect results when comparing against
          -0.0 has been fixed (<ulink
          href="https://ghc.haskell.org/trac/ghc/ticket/9238">Trac #9238</ulink>).
        </para>
      </listitem>

      <listitem>
        <para>
          The compiler is now better able to work around platform limits on
          command-line length on Windows thanks to support for response files
          (<ulink href="https://ghc.haskell.org/trac/ghc/ticket/10375">Trac
          #10375</ulink>) and an upgrade to the GCC toolchain (<ulink
          href="https://ghc.haskell.org/trac/ghc/ticket/10726">Trac
          #10726</ulink>)
        </para>
      </listitem>

      <listitem>
        <para>
          The linker is now far less verbose when faced with certain warning conditions on Windows.
          (<ulink href="https://ghc.haskell.org/trac/ghc/ticket/9297">Trac
          #9297</ulink>).
        </para>
      </listitem>

      <listitem>
        <para>
          Framework flags are now included in the linker command line on Mac OS X
          (<ulink href="https://ghc.haskell.org/trac/ghc/ticket/10568">Trac
          #10568</ulink>).
        </para>
      </listitem>

      <listitem>
        <para>
          Compiler error messages containing Unicode characters no longer crash
          the compiler on platforms without Unicode support.
          (<ulink href="https://ghc.haskell.org/trac/ghc/ticket/6037">Trac
          #6037</ulink>).
        </para>
      </listitem>

      <listitem>
        <para>
          ARM support should be substantially more reliable as the compiler now
          takes precautions to avoid linking against Thumb code (<ulink
          href="https://ghc.haskell.org/trac/ghc/ticket/10375">Trac #10375</ulink>).
        </para>
      </listitem>

      <listitem>
        <para>
          A bug in the typechecker's treatment of
          <literal>PartialTypeSignatures</literal> which previously resulted in
          a compile-time crash has been fixed. (<ulink
          href="https://ghc.haskell.org/trac/ghc/ticket/10438">Trac #10438</ulink>).
        </para>
      </listitem>
      <listitem>
        <para>
          A typechecker bug leading to the compiler crashing has been resolved
          (<ulink href="https://ghc.haskell.org/trac/ghc/ticket/10489">Trac
          #10489</ulink>).
        </para>
      </listitem>

      <listitem>
        <para>
          Due to a <ulink href="https://ghc.haskell.org/trac/ghc/ticket/10826">
          security issue
          </ulink>, Safe Haskell now forbids annotations in programs marked as
          <literal>-XSafe</literal>
        </para>
      </listitem>

      <listitem>
        <para>
          The template Haskell <literal>getQ</literal> and
          <literal>putQ</literal> functions are fixed (having been broken since GHC
          7.10.1, (<ulink href="https://ghc.haskell.org/trac/ghc/ticket/10596">Trac
          #10596</ulink>).
        </para>
      </listitem>
    </itemizedlist>
  </sect2>


  <sect2>
    <title>Libraries</title>

    <sect3>
        <title>base</title>
        <itemizedlist>
            <listitem>
                <para>
                    Version number 4.8.2.0 (was 4.8.1.0)
               </para>
           </listitem>
            <listitem>
                <para>
                    The <literal>GiveGCStats</literal>,
                    <literal>DoCostCentres</literal>, <literal>DoHeapProfile</literal>,
                    <literal>DoTrace</literal>, <literal>Time</literal>, and <literal>Nat</literal>
                    datatypes are now exported from
                    <literal>GHC.RTS.Flags</literal>.
                </para>
           </listitem>
       </itemizedlist>
    </sect3>
  </sect2>

  <sect2>
    <title>Known bugs</title>
    <itemizedlist>
   </itemizedlist>
  </sect2>
</sect1>