Skip to content
Snippets Groups Projects
Commit daf7bcbf authored by Matthew Pickering's avatar Matthew Pickering
Browse files

driver: Fix -fdefer-diagnostics flag

The `withDeferredDiagnostics` wrapper wasn't doing anything because the
session it was modifying wasn't used in hsc_env. Therefore the fix is
simple, just push the `getSession` call into the scope of
`withDeferredDiagnostics`.

Fixes #22391
parent 270037fa
No related branches found
No related tags found
1 merge request!9274driver: Fix -fdefer-diagnostics flag
Pipeline #58536 passed with warnings