Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Don't deinit formal temps before end of block #15125

Merged
merged 1 commit into from
Mar 6, 2020

Conversation

mppf
Copy link
Member

@mppf mppf commented Mar 6, 2020

Formal temps are more like user variables than normal temps.
It makes sense not to deinit them early since they will be used
throughout the function, generally speaking.

Resolves valgrind failures with
test/types/records/intents/out-intent.chpl

after PR #15041.

Trivial and not reviewed.

  • full local testing
  • primers pass under valgrind+verify and do not leak

Formal temps are more like user variables than normal temps.
It makes sense not to deinit them early since they will be used
throughout the function, generally speaking.

Resolves valgrind failures with
 test/types/records/intents/out-intent.chpl
@mppf mppf merged commit 3adb82a into chapel-lang:master Mar 6, 2020
@mppf mppf deleted the follow-15041-out branch March 6, 2020 23:43
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant