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

Sync #19

Merged
merged 17 commits into from
Jun 3, 2024
Merged

Sync #19

merged 17 commits into from
Jun 3, 2024

Conversation

karan-batavia
Copy link
Collaborator

No description provided.

scala-steward and others added 17 commits May 26, 2024 19:03
…4591)

Uses ControlStructureTypes.CATCH, ControlStructureTypes.FINALLY, and ControlStructureTypes.ELSE now instead of
relying on explicit order values.
…4597)

Uses ControlStructureTypes.CATCH, ControlStructureTypes.FINALLY, and ControlStructureTypes.ELSE now instead of
relying on explicit order values.
Also add catch clause parameters (declarations) to their bodies content (which was missing entirely).
Methods require binding/ref edges with their corresponding type declaration in dynamic languages to correctly model their object-like behaviour. This PR implements these bindings following `pysrc2cpg`'s `createBinding` function.

Additionally, adds the `CONSTRUCTOR` modifier to constructors.

Resolves joernio#4593
…#4602)

Uses ControlStructureTypes.CATCH and ControlStructureTypes.FINALLY now instead of relying on explicit order values.
…nio#4604)

Uses ControlStructureTypes.CATCH and ControlStructureTypes.FINALLY now instead of relying on explicit order values.
Symbols are not parsed as operator expressions, so when they are given as a value to a named argument, they trigger an unhandled RubyNodeCreator case. This PR fixes that.
Uses ControlStructureTypes.CATCH and ControlStructureTypes.FINALLY now instead of relying on explicit order values.
This PR fixes previously unhandled call receivers, which creates an issue later during dynamic call linking as the receiver would be an Unknown node.

* Handled quoted expanded regex literals
* Handled constant variable references

Additionally, this brings back warnings for `Unknown` nodes as these unhandled nodes are not syntax errors but don't necessarily have explicit warnings when unhandled.
…o#4609)

Uses ControlStructureTypes.CATCH and ControlStructureTypes.FINALLY now instead of relying on explicit order values.
@karan-batavia karan-batavia merged commit 008f0f5 into master Jun 3, 2024
5 checks passed
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