Skip to content
  • Alfredo Di Napoli's avatar
    Support new parser types in GHC · cdbce8fc
    Alfredo Di Napoli authored and Marge Bot's avatar Marge Bot committed
    This commit converts the lexers and all the parser machinery to use the
    new parser types and diagnostics infrastructure. Furthermore, it cleans
    up the way the parser code was emitting hints.
    
    As a result of this systematic approach, the test output of the
    `InfixAppPatErr` and `T984` tests have been changed. Previously they
    would emit a `SuggestMissingDo` hint, but this was not at all helpful in
    resolving the error, and it was even confusing by just looking at the
    original program that triggered the errors.
    
    Update haddock submodule
    cdbce8fc