diff options
Diffstat (limited to 'docs/users_guide/9.4.1-notes.rst')
-rw-r--r-- | docs/users_guide/9.4.1-notes.rst | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/docs/users_guide/9.4.1-notes.rst b/docs/users_guide/9.4.1-notes.rst index 39ab943356..3ccbf4c3ec 100644 --- a/docs/users_guide/9.4.1-notes.rst +++ b/docs/users_guide/9.4.1-notes.rst @@ -64,6 +64,12 @@ Compiler defaults for ambiguous variables that would otherwise cause errors just like the built-in defaulting mechanism. +- ``GHC.Plugins.parsedResultAction`` now takes and returns a tuple of warnings + and errors encountered by the parser before they're shown to the user, as + long as none of the errors prevented the AST from being built. This means + plugins can remove, modify, or add any of these, or simply pass them through + unchanged. + - The way GHC checks for representation polymorphism has been overhauled: all the checks are now done during typechecking. The error messages now contain more detailed information about the specific check that was performed. @@ -375,4 +381,4 @@ Compiler - GHC no longer carries ``Derived`` constraints. Accordingly, several functions in the plugin architecture that previously passed or received three sets of - constraints (givens, deriveds, and wanteds) now work with two such sets.
\ No newline at end of file + constraints (givens, deriveds, and wanteds) now work with two such sets. |