On 06/27/2010 12:18 PM, Jacob Carlborg wrote:
Why doesn't the following code work in D2 (it works in D1)?

void foo (T) (in T[] a, T b)
{

}

void main ()
{
"asd".foo('s');
}


"asd".foo(cast(immutable) 's');

Reply via email to