mirror of
https://github.com/github/codeql.git
synced 2026-04-15 03:54:02 +02:00
In some cases, we were writing diagnostics to TRAP files where they shouldn't be written. Such TRAP files don't define #compilation, so TRAP import gave errors. Now we use DiagnosticTrapWriter to get the type system to check that we are writing diagnostics to the right place.