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

Fix WeakRef specs in release mode #4790

Merged
merged 1 commit into from Aug 4, 2017

Conversation

RX14
Copy link
Contributor

@RX14 RX14 commented Aug 4, 2017

last wasn't used in the spec after assignment, so it was optimised away in release mode. Use it later to ensure the spec passes.

@RX14 RX14 merged commit 0906a88 into crystal-lang:master Aug 4, 2017
@RX14 RX14 added this to the Next milestone Aug 4, 2017
@RX14 RX14 added the kind:bug label Aug 4, 2017
Val pushed a commit to Val/crystal that referenced this pull request Aug 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants