On Sunday, 9 February 2014 at 19:34:45 UTC, Peter Alexander wrote:
On Sunday, 9 February 2014 at 19:16:35 UTC, tcak wrote:
Is that error normal and I am missing something? or a bug?

Bizarre, if you replace DATA_LENGTH with 16 in foo then it works:

public static void foo( T )( T[16] msg ) if( is(T:
ubyte) || is(T: char)){
        //...
}

Definitely a bug. Please file it.

https://d.puremagic.com/issues/enter_bug.cgi?product=D

It is filed. Issue 12122.
https://d.puremagic.com/issues/show_bug.cgi?id=12122

Reply via email to