Opened 19 months ago

Last modified 19 months ago

#8875 new feature request

Track Exceptions

Reported by: yokto Owned by:
Priority: normal Milestone:
Component: Compiler Version:
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):


Figure out for each function which exceptions can be thrown by it. This could probably be done by tracking calls to




and their types. The info would probably need to be stored in the .hi files, and could then be displayed by haddock.

Change History (2)

comment:1 Changed 19 months ago by schyler

I sense confusion about the point of .hi files. Without going into too much detail why this ticket doesn't make sense for the current implementation of exceptions, this is a haddock feature request and not one for ghc (thus, it doesn't belong here).

Last edited 19 months ago by schyler (previous) (diff)

comment:2 Changed 19 months ago by yokto

Ok i'm not sure about the .hi file and i don't know a lot of haddock/ghc internals. But this seems pretty impossible to implement without a little help from the compiler.

Note: See TracTickets for help on using tickets.