[Issue 9263] statement is not reachable when statement is reachable
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Jan 3 04:09:40 PST 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9263
bearophile_hugs at eml.cc changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bearophile_hugs at eml.cc
--- Comment #1 from bearophile_hugs at eml.cc 2013-01-03 04:09:39 PST ---
A bit simplified. string, final, uint are not needed to show the problem:
enum Foo { A }
int main() {
Foo f;
final switch(f) with(Foo) {
case A:
return 0;
}
}
The with() statement has some problems.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list