Andre:
I am also not really happy with the actual behavor (w / wi
switch needed)
You shall always compile your D code with warnings active, unless
you need them disabled for some real reason.
Eventually the fall through warning will become a deprecation and
then an error. It's meant to be
On Tuesday, 3 March 2015 at 07:27:33 UTC, ketmar wrote:
implicit fallthru is not a fatal bug (but i believe it should
be), it
generates only warning.
I am also not really happy with the actual behavor (w / wi switch
needed) because the documentation is clear about that it is an
error:
Hi,
I am little bit confused. I am copied the switch example from
lex.html
and expected that case 6 will lead to a syntax error due to the
missing
break statement. But the example compiles without error (C:dmd
app)
I tried 3 different dmd version, also the newest beta.
Kind regards
André
On 03/02/2015 10:58 PM, Andre wrote:
Hi,
I am little bit confused. I am copied the switch example from lex.html
and expected that case 6 will lead to a syntax error due to the missing
break statement. But the example compiles without error (C:dmd app)
I tried 3 different dmd version, also the
On Tue, 03 Mar 2015 06:58:14 +, Andre wrote:
Hi,
I am little bit confused. I am copied the switch example from lex.html
and expected that case 6 will lead to a syntax error due to the missing
break statement. But the example compiles without error (C:dmd app)
implicit fallthru is not a