Skip to content

Conversation

@LemonBoy
Copy link
Contributor

Failing to do so lead the codegen to emit invalid code sometimes,
especially when C++ references were involved.

A wonderful bug that I've introduced myself some time ago 🤔

Fixes #10241

Failing to do so lead the codegen to emit invalid code sometimes,
especially when C++ references were involved.

Fixes nim-lang#10241
@Araq Araq merged commit 1558487 into nim-lang:devel Jan 17, 2019
krux02 added a commit to krux02/Nim that referenced this pull request Mar 21, 2019
Araq added a commit that referenced this pull request Apr 21, 2019
* Revert "Properly wrap discarded statements (#10322)"

This reverts commit 1558487.

* add test for implicit discard after defer
* enable t10241 again
* make C++ tests green again
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.

2 participants