Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mergin main into small dfg fix #1650

Closed
wants to merge 29 commits into from

Conversation

maximiliankaul
Copy link
Contributor

@maximiliankaul maximiliankaul commented Aug 14, 2024

This is a playground pr. Feel free to solve the issues and merge the branches while I'm on vacation :)

This breaks some tests.

oxisto and others added 29 commits June 20, 2024 08:30
Do not depend on JavaImportResolver in Neo4j
* Fixed Neo4J import of `ImportDeclaration`

The `ImportDeclaration` was trying to use the `Name` class without a converter.

* Need to ignore

* Adding SimpleNameConverter

* Added small test for name converter
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* Using Kotlin 1.9 for cpg-console

It seems that the kotlin shell is not (yet) compatbile with Kotlin 2.0. However, it seems that we can just use the scripting host from Kotlin 1.9 and it seems to work.

Fixes #1591
Related to Kotlin/kotlin-interactive-shell#131

* Added an integration test for the console

* Adding cpg-console to test coverage
* Update README.md

* add qasm and qiskit (#1601)

* Adapting language support category

* Additional software remark changed

* Update README.md

* Change developing to incubating

---------

Co-authored-by: Maximilian Kaul <[email protected]>
Co-authored-by: Christian Banse <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* Added `hasArguments` to `ArgumentHolder`

This adds a small utility function to `ArgumentHolder`, so we can check if an expression is part of their "arguments".
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Fixed crash in CXXExtraPass::convertOperators

This is more a band-aid, than an actually "healing". The issue is that we often use the `language` to get a translation context in passes. But (sometimes) the language does not have it, since it is created using `registerLanguage` even before a translation context exists.

In an attempted fix, I am now using the translation context of a different node, but we should really think about how to deal with that in the future.

Fixes #1617
* Added `OperatorDeclaration`

This PR adds support for an operator declaration. They are not resolved yet.

* Python operators (#1625)

---------

Co-authored-by: Maximilian Kaul <[email protected]>
We also take the first path and then break, so that it won't get overidden.
* Populating `codeOf` of `ASTModule`

This error message was annoying me, so here is a fix. I am not sure if it is easy to find the "location" of the module. The region should be able to be computed out of the lengt of `fileContents` and its actual content. I actually thought we had a function like that somewhere @konradweiss?

* make sonarcube happy

---------

Co-authored-by: Maximilian Kaul <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@maximiliankaul
Copy link
Contributor Author

Closed a38b853

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants