Skip to content
  • Ben Gamari's avatar
    Introduce -fcatch-bottoms · 8e51bfc3
    Ben Gamari authored and Ben Gamari's avatar Ben Gamari committed
    This flag instructs the simplifier to emit ``error`` expressions in the
    continutation of empty case analyses (which should bottom and
    consequently not return). This is helpful when debugging demand analysis
    bugs which can sometimes manifest as segmentation faults.
    
    Test Plan: Validate
    
    Reviewers: simonpj, austin
    
    Subscribers: niteria, rwbarton, thomie
    
    Differential Revision: https://phabricator.haskell.org/D3736
    8e51bfc3