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

Fixed bug in RCE #74

Merged
merged 1 commit into from
May 20, 2024

Conversation

AjayBrahmakshatriya
Copy link
Collaborator

There was a bug in RCE where variables that have their addresses taken are also copy eliminated. This change simply treats these variables as also being "potentially" assigned to and doesn't copy eliminate them.
Sample57 has been added to test this.

Further this change also fixes the overload on ++ and -- operators to use universal references.
Sample42 has been updated to test this.

@AjayBrahmakshatriya AjayBrahmakshatriya merged commit 1a8f476 into BuildIt-lang:master May 20, 2024
2 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.

1 participant