Skip to content
  • Matthew Pickering's avatar
    6b2f7ffe
    Make ghcDebugAssertions into a Stage predicate (Stage -> Bool) · 6b2f7ffe
    Matthew Pickering authored and Marge Bot's avatar Marge Bot committed
    We also care whether we have debug assertions enabled for a stage one
    compiler, but the way which we turned on the assertions was quite
    different from the stage2 compiler. This makes the logic for turning on
    consistent across both and has the advantage of being able to correct
    determine in in-tree args whether a flavour enables assertions or not.
    
    Ticket #22096
    6b2f7ffe
    Make ghcDebugAssertions into a Stage predicate (Stage -> Bool)
    Matthew Pickering authored and Marge Bot's avatar Marge Bot committed
    We also care whether we have debug assertions enabled for a stage one
    compiler, but the way which we turned on the assertions was quite
    different from the stage2 compiler. This makes the logic for turning on
    consistent across both and has the advantage of being able to correct
    determine in in-tree args whether a flavour enables assertions or not.
    
    Ticket #22096
Loading