Skip to content
  • Simon Peyton Jones's avatar
    Only promote *non-existential* data constructors · 8019bc2c
    Simon Peyton Jones authored
    I don't konw how this was left out before; Trac #7347.
    
    In fixing this I did the usual round of refactoring.  In particular, I
    cached the fact that a DataCon can be promoted in the DataCon
    itself (the dcPromoted field).
    8019bc2c