[Issue 6220] Regression(2.053) static foreach over a string[] no	longer produces directly usable strings
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Fri Aug  5 15:51:25 PDT 2011
    
    
  
http://d.puremagic.com/issues/show_bug.cgi?id=6220
Kenji Hara <k.hara.pg at gmail.com> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |k.hara.pg at gmail.com
--- Comment #1 from Kenji Hara <k.hara.pg at gmail.com> 2011-08-05 15:51:22 PDT ---
This is regression of Commit:fc67046cf1e66182d959309fb15ef9e2d4c266b9 .
When foreach aggregator is tuple of string literals, the value variable is
declared like follows:
  const member = aggregator[i];
And variable member is not const-folded (WANTvalue).
But, before fc67046c, it is interpreted (WANTinterpret), then compile had
succeeded.
We should declare value variable as manifest constant there for interpretation.
-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
    
    
More information about the Digitalmars-d-bugs
mailing list