Ticket #109 (closed defect: invalid)

Opened 6 years ago

Last modified 2 years ago

Haddock : parse error on input `{-# UNPACK'

Reported by: erikd Owned by:
Priority: major Milestone:
Version: 2.4.2 Keywords: parse UNPACK
Cc:

Description

Trying to build binary-strict package out of Hackage results in the error:

Warning: The documentation for the following packages are not installed. No links will be generated to these packages: rts-1.0

src/Data/Binary/Strict/IncrementalGet.hs:106:11:

parse error on input `{-# UNPACK'

Change History

Changed 6 years ago by dominic

Haddock rejects this:

-- | The parse state data S = S {-# UNPACK #-} !BL.ByteString? -- input

{-# UNPACK #-} !Int -- bytes read {-# UNPACK #-} ![B.ByteString?] {-# UNPACK #-} !Int -- the failure depth

But accepts this:

-- | The parse state data S = S {-# UNPACK #-} !BL.ByteString? -- input

{-# UNPACK #-} !Int -- bytes read {-# UNPACK #-} ![B.ByteString?] {-# UNPACK #-} !Int -- the failure dept

Changed 6 years ago by dominic

Should be in a code block:

-- | The parse state
data S = S {-# UNPACK #-} !BL.ByteString  -- ^ input
           {-# UNPACK #-} !Int  -- ^ bytes read
           {-# UNPACK #-} ![B.ByteString]
           {-# UNPACK #-} !Int  -- ^ the failure depth

-- | The parse state
data S = S {-# UNPACK #-} !BL.ByteString  -- input
           {-# UNPACK #-} !Int  -- bytes read
           {-# UNPACK #-} ![B.ByteString]
           {-# UNPACK #-} !Int  -- the failure dept

Changed 5 years ago by waern

  • status changed from new to closed
  • resolution set to invalid

Comments on constructor arguments is not supported by Haddock. See http://trac.haskell.org/haddock/ticket/95

Changed 3 years ago by dyzmillz80

I’d must check with you here. Which is not something I usually do! I get pleasure from reading a submit that will make individuals think. Also, thanks for permitting me to comment! viagra viagra kaufen Viagra

Changed 3 years ago by dyzmillz80

Good post. I study something more challenging on completely different blogs everyday. It'll at all times be stimulating to learn content from different writers and apply slightly something from their store. I’d choose to make use of some with the content material on my blog whether you don’t mind. Naturally I’ll provide you with a link on your internet blog. Thanks for sharing. buy levitra achat Viagra kamagra

Changed 2 years ago by anonymous

  • milestone 2.5.0 deleted

Milestone 2.5.0 deleted

Note: See TracTickets for help on using tickets.