Skip to content

Comments

Refactoring/improvement of issue 8408, and additionally fixing Issue 8998#1519

Merged
WalterBright merged 4 commits intodlang:masterfrom
9rnsr:fix_purity
Mar 4, 2013
Merged

Refactoring/improvement of issue 8408, and additionally fixing Issue 8998#1519
WalterBright merged 4 commits intodlang:masterfrom
9rnsr:fix_purity

Conversation

@9rnsr
Copy link
Contributor

@9rnsr 9rnsr commented Jan 20, 2013

Essentially, there is no relation between PUREstrong and the isolation of returned value.
I had misunderstood about that, and mis-implemented it in pull #1110 for issue 8408.
So this also is a refactoring change of #1110.

Additional fix:
Issue 8998 - 'inout pure' returns immutable, which in reality is mutable

By fixing issue 7769 (relax inout rule), we cannot assume a function with inout parameters as PUREstrong,
because the return type may not have any inout indirections.

Requires: #1512

9rnsr added 4 commits February 5, 2013 22:29
- Revert "Merge pull request dlang#1418 from 9rnsr/fix9230"

  This reverts commit c42d35b, reversing
  changes made to 9f2d9ea.

- Revert "Merge pull request dlang#1110 from 9rnsr/fix8408"

  This reverts commit b6a8093, reversing
  changes made to 3b06132.
…mutable

By fixing issue 7769 (relax inout rule), we cannot assume a function with inout parameters as PUREstrong, because the return type may not have any inout indirections.
WalterBright added a commit that referenced this pull request Mar 4, 2013
Refactoring/improvement of issue 8408, and additionally fixing Issue 8998
@WalterBright WalterBright merged commit ee06e4a into dlang:master Mar 4, 2013
@CyberShadow
Copy link
Member

This pull request introduced a regression:
https://issues.dlang.org/show_bug.cgi?id=9279

@MoonlightSentinel
Copy link
Contributor

This pull request introduced a regression:
https://issues.dlang.org/show_bug.cgi?id=21807

@WalterBright
Copy link
Member

This PR is a fine example of why we do not allow multiple issues mangled together into one PR anymore.

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.

4 participants