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

cpp: fix var parameter regression #294

Merged
merged 1 commit into from
May 1, 2022
Merged

Conversation

zerbina
Copy link
Collaborator

@zerbina zerbina commented May 1, 2022

Fixes at least some of the code-gen issues introduced by
#290. All previously
disabled tests work again.

For more details, refer to tests/ccgbugs/tvar_param.nim.

Since temporaries are now also used in places where they previously
weren't (for the C back-end), this is a breaking change.

Fixes at least some of the code-gen issues introduced by
nim-works#290. All previously
deactived tests work again.

Since temporaries are now also used in places where they previously
weren't (for the C back-end), this is a breaking change.
@saem
Copy link
Collaborator

saem commented May 1, 2022

This is much more sensible than before, nicely done!

Bors r+

@bors
Copy link
Contributor

bors bot commented May 1, 2022

Build succeeded:

@bors bors bot merged commit ac3a88f into nim-works:devel May 1, 2022
@zerbina zerbina deleted the cpp-deref-fix branch May 3, 2022 16:36
@haxscramper haxscramper added this to the VM backend refactoring milestone Nov 21, 2022
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.

None yet

3 participants