Skip to content

Conversation

@jbj
Copy link
Contributor

@jbj jbj commented Dec 13, 2018

The AST-based data flow libraries and the IR-based ones both define modules DataFlow, DataFlow2, etc. This caused ImportAdditionalLibraries.ql to fail in compilation.

The AST-based data flow libraries and the IR-based ones both define
modules `DataFlow`, `DataFlow2`, etc. This caused
`ImportAdditionalLibraries.ql` to fail in compilation.
@jbj jbj added the C++ label Dec 13, 2018
@jbj jbj added this to the 1.19 milestone Dec 13, 2018
@jbj jbj requested a review from a team as a code owner December 13, 2018 09:56
@geoffw0
Copy link
Contributor

geoffw0 commented Dec 13, 2018

The description of ImportAdditionalLibraries.ql says it "imports some libraries we would like to make available in the LGTM query console even if they are not used by any queries." Does the module statement around the import affect the way LGTM users access these additional libraries?

@jbj
Copy link
Contributor Author

jbj commented Dec 13, 2018

@geoffw0 ImportAdditionalLibraries.ql is only there to introduce file-level dependencies on otherwise unused qll files. No names in it are visible to anything else.

Copy link
Contributor

@geoffw0 geoffw0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@adityasharad adityasharad merged commit fb82811 into github:rc/1.19 Dec 13, 2018
@jbj
Copy link
Contributor Author

jbj commented Dec 13, 2018

Cc @dave-bartolomeo. I've opened https://git.semmle.com/Semmle/code/pull/29761 to prevent this from happening again.

cklin pushed a commit that referenced this pull request May 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants