www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - no line on error

This code:

<code>
void main()
{
	int[] foo;
	
	foreach(Bar x; foo)
	{
	}
}
</code>

Gives the error

"identifier 'Bar' is not defined"

There's no line number given

DMD 0.106, WinXP


</h3>
Nov 22 2004