On Sun, Oct 11, 2009 at 3:41 PM, Ian Lynagh <ig...@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

Attachment: Demo.hs
Description: Binary data

Attachment: Demo2.hs
Description: Binary data

_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to