------- Comment #1 from unkn...@simplemachines.org 2009-04-10 00:59 -------
Created an attachment (id=320)
Call semantic even when foreaching over invalid data.
This patch makes it still call semantic() on body, even if foreaching over an
int or some such.
This might cause additional noise ("undefined identifier line" here), but it
makes it not crash and seems like the logical thing to do, according to usual
convention when handling errors.
DMD 1.x doesn't crash in this instance, because there's no nothrow involved. I
would expect this patch would help DMD 1 too.