Comment #0 by dlang-bugzilla — 2020-05-12T21:44:53Z
///////// test.d /////////
int fun()
{
while (true)
{
loop:
foreach (n; 0..10)
continue loop;
}
}
//////////////////////////
DMD says:
Error: function `test.fun` has no `return` statement, but is expected to return a value of type `int`
Comment #1 by robert.schadek — 2024-12-13T19:08:37Z