class Test {
string t1 = "test"; //Ok!
char[] t2 = "test".dup; //Compile error
}
void main(char[][] args) {
}
Error:
hello.d(3): Error: cannot evaluate _adDupT((&
D12TypeInfo_Aya6__initZ),"test") at compile time
hello.d(3): Error: cannot evaluate _adDupT((&
D12TypeInfo_Aya6__initZ),"test") at compile time
Is there workaround? BR Marcin Kuszczak (aarti_pl)
