https://issues.dlang.org/show_bug.cgi?id=13201
Dragos Carp <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Hardware|x86_64 |All OS|Linux |All Severity|major |regression --- Comment #1 from Dragos Carp <[email protected]> --- Upgraded it to regression because following code successfully compiles with dmd-2.065 (-w flag) and with dmd-2.066.0-b6 (-w flag) produces "Warning: statement is not reachable" on "synchronized" line. ============================== class Foo { } class Bar { Foo foo() { synchronized { assert(0); } } } --
