Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / GHC
Source project has a limited visibility.
  • Jakob Brünker's avatar
    f07c7766
    Give parsing plugins access to errors · f07c7766
    Jakob Brünker authored and Marge Bot's avatar Marge Bot committed
    Previously, when the parser produced non-fatal errors (i.e. it produced
    errors but the 'PState' is 'POk'), compilation would be aborted before
    the 'parsedResultAction' of any plugin was invoked. This commit changes
    that, so that such that 'parsedResultAction' gets collections of
    warnings and errors as argument, and must return them after potentially
    modifying them.
    
    Closes #20803
    f07c7766
    History
    Give parsing plugins access to errors
    Jakob Brünker authored and Marge Bot's avatar Marge Bot committed
    Previously, when the parser produced non-fatal errors (i.e. it produced
    errors but the 'PState' is 'POk'), compilation would be aborted before
    the 'parsedResultAction' of any plugin was invoked. This commit changes
    that, so that such that 'parsedResultAction' gets collections of
    warnings and errors as argument, and must return them after potentially
    modifying them.
    
    Closes #20803
Code owners
Assign users and groups as approvers for specific file changes. Learn more.