Skip to content

Conversation

@yebblies
Copy link
Contributor

@yebblies yebblies commented Jul 9, 2011

Allow an expression to be implicitly cast to immutable if

  1. it is the return value of a call to a strongly pure function or
  2. it is being returned from a strongly pure function

Allow an expression to be implicitly cast to immutable if 1) it is the return value of a call to a strongly pure function or 2) it is being returned from a strongly pure function
WalterBright added a commit that referenced this pull request Aug 25, 2011
Issue 5081 - Pure functions as initializers for immutable structures
@WalterBright WalterBright merged commit af3efb7 into dlang:master Aug 25, 2011
@CyberShadow
Copy link
Member

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

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.

3 participants