digitalmars.D.bugs - foreach gpf & assertion failure
- Andrew Edwards (9/9) Jul 25 2004 this version results in a GPF
this version results in a GPF char[] ch = "test"; foreach(char ; ch){}; ^-------note missing identifier and this results in assertion failure foreach(int idx, char ; ch){}; output: Assertion failure: '0' on line 651 in file 'statement.c' abnormal program termination
Jul 25 2004