[Issue 6457] [CTFE] .idup or casting of char[] does not really create	a string literal recognizable in 'mixin',	which causes a line-less error
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Mon Aug  8 21:29:41 PDT 2011
    
    
  
http://d.puremagic.com/issues/show_bug.cgi?id=6457
Don <clugdbug at yahoo.com.au> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |clugdbug at yahoo.com.au
--- Comment #2 from Don <clugdbug at yahoo.com.au> 2011-08-08 21:29:39 PDT ---
This doesn't work either, and it doesn't involve CTFE:
const char[] s = ['i','n','t',' ','a',';'];
mixin(s);
It's one of the few cases where arrays literals of chars aren't being accepted
as string literals.
-- 
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