Skip to content
  • Simon Peyton Jones's avatar
    Reject newtypes with strictness annotations; fixes read008 · 923ee9d3
    Simon Peyton Jones authored
    This used to be a parse error, but ! annotations are now handled
    further downstream in the compiler, and I'd forgotten to check
    that newtypes do not have strictness annotations.
    
    The test read008 is technically in the wrong place (it's a typechecker
    test now) but that doesn't matter
    923ee9d3