Custom Query (6599 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (28 - 30 of 6599)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Ticket Resolution Summary Owner Reporter
#1510 fixed Fix warning issued when using the -fhpc flag andy@… AndyGill
Description

When compiling multi-module code, -fhpc compiled code issues various warning of the form

/Users/andy/darcs/ghc/ghc-quick-1/libraries/base/dist/build/GHC/Base.hi
Declaration for flip
Unfolding of GHC.Base.flip:
  Iface id out of scope:  {tick (base:GHC.Base, 95)}

They seem benign, but need investigated, and either removed or corrected.

#2311 fixed hpc markup fails to create directory when marking up coverage of a package AndyGill AndyGill
Description

When writing marked up html files, hpc markup does not create a directory, if needed, for packages.

  $ hpc markup --destdir=html Test  --fun-entry-count   --srcdir=. --srcdir=../../code/vector-space 
  Writing: Test.hs.html
  Writing: vector-space-0.1.4/Data.Cross.hs.html
  hpc: html/vector-space-0.1.4/Data.Cross.hs.html: openFile: does not exist (No such file or directory)

  $ mkdir html/vector-space-0.1.4

  $ hpc markup --destdir=html Test  --fun-entry-count   --srcdir=. --srcdir=../../code/vector-space 
  Writing: Test.hs.html
  Writing: vector-space-0.1.4/Data.Cross.hs.html
  Writing: vector-space-0.1.4/Data.Derivative.hs.html
  Writing: vector-space-0.1.4/Data.NumInstances.hs.html
  Writing: vector-space-0.1.4/Data.VectorSpace.hs.html
  ...

#7402 fixed Warn about possible missing -XScopedTypeVariables on errors. Aninhumer
Description

Suggest that the user they may wish to add -XScopedTypeVariables, if an error results from a free type variable which would be bound in its scope with the flag enabled. (i.e. if its name exists as a variable in the type declaration).

I ran into this problem on code similar to this:

instance (Sized a n, Nat n) => Rep a where
    emptyRep = replicate (toInt (undefined :: n)) 0

and it took me some time to solve, and only by having vague knowledge that such a flag existed.

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