Skip to content
  • Simon Peyton Jones's avatar
    Fix apparently-long-standing bug in FloatIn · f53e3de5
    Simon Peyton Jones authored
    The float-in pass wasn't doing the right thing when you have
    
    	let x{rule mentions y} = rhs in body
    
    It allowed a binding mentioning y to float into the body, which is
    obviously wrong.  I think this bug has been there a long time; I don't
    really know why it has not come up before.
    
    It showed up when compiling Text.Regex.Base.Context with WAY=p in
    package regex-base.
    f53e3de5