Skip to content
  • Simon Peyton Jones's avatar
    Tuples cannot contain unboxed types · 48565ca8
    Simon Peyton Jones authored
    This bug allowed, for example
    
      f = let x = ( 1#, 'x' ) in x
    
    which is ill-typed because you can't put an unboxed value in a tuple.
    Core Lint fails on this program.
    
    The patch makes the program be rejcted up-front.
    
    48565ca8