https://issues.dlang.org/show_bug.cgi?id=18939

Heromyth <bitwo...@qq.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bitwo...@qq.com

--- Comment #1 from Heromyth <bitwo...@qq.com> ---
Here is another test:

__gshared string[] zeros;
shared static this() {
   zeros[] = new string[64]; // There is no callstatck info. 
// It just give these error:
//  object.Error@(0): Array lengths don't match for copy: 64 != 0

// If I have a big source file, it really hard to locate the error.
}

void main()
{
   // zeros[] = new string[64]; // Can get the callstatck info
}

--

Reply via email to