tomsmalley / semantic-reflex

🔧 Semantic UI for Haskell and Reflex-DOM
https://tomsmalley.github.io/semantic-reflex/
BSD 3-Clause Clear License
38 stars 13 forks source link

Fix haddock generation #40

Open mightybyte opened 5 years ago

mightybyte commented 5 years ago

I'm seeing build failures during the haddock phase. Heres' the error message:

haddock: internal error: internal: extractDecl
CallStack (from HasCallStack):
  error, called at utils/haddock/haddock-api/src/Haddock/Interface/Create.hs:1097:12 in main:Haddock.Interface.Create

Not very helpful I know, but that's all I've got for now. It seems to be crashing haddock in a way that doesn't display helpful error locations. :(

alexfmpe commented 5 years ago

I've seen this error myself in another project - IIRC, https://github.com/haskell/haddock/issues/979 was to blame. I worked around it by disabling haddock generation