ANNOUNCE: GHC 6.12.1 Release Candidate 1

Antoine Latter aslatter at gmail.com
Sun Oct 18 16:20:21 EDT 2009


On Sun, Oct 11, 2009 at 3:41 PM, Ian Lynagh <igloo at earth.li> wrote:
>
> Hi all,
>
> We are pleased to (finally!) announce the first release candidate
> for GHC 6.12.1:
>
>    http://darcs.haskell.org/~ghc/dist/6.12.1rc1/
>
> As well as the source tarball:
>    ghc-6.12.0.20091010-src.tar.bz2
> there are installers for Windows (i386) and OS X (i386), and binary
> distributions for x86_64/Linux and i386/Linux. For the Linux binary
> distributions, the "linux-n" tarballs are recommended over the "linux"
> tarballs.
>
>
> Please test as much as possible; bugs are much cheaper if we find them
> before the release!
>
>
> Thanks
> Ian, on behalf of the GHC team

I'll try to get this up in a bug report on trac as soon as it's back
up, but in case I forget, here's the problem:

The attached Demo.hs compiles on 6.10, but not on 6.12rc1

The output --ddump-splices for 6.10:

>>>
Demo.hs:1:0:
   Demo.hs:1:0: Splicing declarations
       test
     ======>
       Demo.hs:6:2-5
       myFunction[aLQ] = Demo2.testFun []
Ok, modules loaded: Demo2, Main.
<<<

In 6.12rc1:

>>>
Demo.hs:1:0:
    Demo.hs:1:0: Splicing declarations
        test
      ======>
        Demo.hs:6:2-5
        myFunction[aNX] = testFun ""

Demo.hs:6:2:
    Couldn't match expected type `[Char]' against inferred type `Char'
      Expected type: [String]
      Inferred type: [Char]
    In the first argument of `testFun', namely `""'
    In the expression: testFun ""
Failed, modules loaded: Demo2.
<<<

Note that what was spliced in as [] is now being spliced in as "",
which is incorrect.

Antoine
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Demo.hs
Type: application/octet-stream
Size: 56 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/glasgow-haskell-users/attachments/20091018/5b958b4c/Demo.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Demo2.hs
Type: application/octet-stream
Size: 317 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/glasgow-haskell-users/attachments/20091018/5b958b4c/Demo2.obj


More information about the Glasgow-haskell-users mailing list