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

Issue 5081 - Pure functions as initializers for immutable structures #218

Merged
merged 1 commit into from
Aug 25, 2011

Conversation

yebblies
Copy link
Member

@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