Skip to content
  • Simon Peyton Jones's avatar
    Fix join-point decision · 66ff794f
    Simon Peyton Jones authored
    This patch moves the "ok_unfolding" test
       from  CoreOpt.joinPointBinding_maybe
       to    OccurAnal.decideJoinPointHood
    
    Previously the occurrence analyser was deciding to make
    something a join point, but the simplifier was reversing
    that decision, which made the decision about /other/ bindings
    invalid.
    
    Fixes Trac #14650.
    66ff794f