[Issue 11824] A stack variable escaping problem in CTFE Phobos code

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Feb 3 07:48:04 PST 2014


https://d.puremagic.com/issues/show_bug.cgi?id=11824


Vladimir Panteleev <thecybershadow at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |thecybershadow at gmail.com
           Severity|normal                      |regression


--- Comment #1 from Vladimir Panteleev <thecybershadow at gmail.com> 2014-02-03 17:47:33 EET ---
I have encountered the same problem:

import std.algorithm;
import std.array;

auto f(int arr) { return [5]; }
immutable x = [1].map!f.array();

This is a regression from 2.064.2.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list