Custom Query (7507 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (37 - 39 of 7507)

3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
Ticket Resolution Summary Owner Reporter
#7532 fixed -ddump-splices output doesn't match generated code for data instances inside instances. Aninhumer
Description

Using the following code:

{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE TypeFamilies #-}

module Test where

import Language.Haskell.TH

class C a where
    data D a

bang :: DecsQ
bang = return [
    InstanceD [] (AppT (ConT ''C) (ConT ''Int)) [
        DataInstD [] ''D [ConT ''Int] [
            NormalC (mkName "T") []] []]]
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE TypeFamilies #-}

import Language.Haskell.TH
import Test

$(bang)

When compiling the second file in GHCi with -ddump-splices set, the output is:

th-test2.hs:1:1: Splicing declarations
    bang
  ======>
    th-test2.hs:9:3-6
    instance C Int where
      data instance D Int = T
Ok, modules loaded: Test, Main.

This compiles successfully, but the dumped splice is clearly incorrect (which I confirmed by attempting to splice this code manually into the same place).

#2519 wontfix Time.toClockTime: picoseconds out of range, after diffClockTimes Ansible
Description

I've found a consistent problem where the picoseconds field of TimeDiff is less than zero. I'm attaching a program that is able to reproduce this problem under 6.8.2.

#8896 worksforme ghci fails on Arm - "Illegal instruction" Ansible
Description

With the help of qemu compiled ghc 7.8.1-rc2 for raspberry pi. Ghc is successful, and ghci compiles, but ghci gets an 'Illegal instruction' error. A sample session:

ccrma@satellite:~$ ghc --version The Glorious Glasgow Haskell Compilation System, version 7.8.0.20140228 ccrma@satellite:~$ ghci --version The Glorious Glasgow Haskell Compilation System, version 7.8.0.20140228 ccrma@satellite:~$ ghci GHCi, version 7.8.0.20140228: http://www.haskell.org/ghc/ :? for help Loading package ghc-prim ... linking ... done. Loading package integer-gmp ... linking ... done. Loading package base ... linking ... Illegal instruction ccrma@satellite:~$

3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
Note: See TracQuery for help on using queries.