Merge pull request #12687 from jketema/unit-2

Make imports of `codeql.util.Unit` private
This commit is contained in:
Jeroen Ketema
2023-03-29 13:07:12 +02:00
committed by GitHub
64 changed files with 57 additions and 31 deletions

View File

@@ -63,10 +63,9 @@
* the type is not intended to match a static type.
*/
private import codeql.util.Unit
private import ApiGraphModelsSpecific as Specific
private class Unit = Specific::Unit;
private module API = Specific::API;
private module DataFlow = Specific::DataFlow;

View File

@@ -22,8 +22,6 @@
private import javascript as JS
private import ApiGraphModels
class Unit = JS::Unit;
// Re-export libraries needed by ApiGraphModels.qll
module API = JS::API;