[Issue 4082] nothrow main() can throw

2012-10-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4082 bearophile_h...@eml.cc changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 4082] nothrow main() can throw

2012-10-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4082 --- Comment #5 from github-bugzi...@puremagic.com 2012-10-22 00:46:53 PDT --- Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/748f3509827d6e0e1c1efabddc23de24aa3873e9

[Issue 4082] nothrow main() can throw

2012-08-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4082 --- Comment #4 from Marco Leise 2012-08-15 03:05:26 PDT --- Ok I think I have fixed it. The original case was due to try-finally-statements not checking their finally section for thrown exceptions. And the goto made it so that the destructor ca

[Issue 4082] nothrow main() can throw

2012-08-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4082 --- Comment #3 from Marco Leise 2012-08-15 02:12:57 PDT --- It also happens when I add a switch statement and the goto is a 'goto case ...'. It seems the BEgoto flag has a viral effect. I'll try to fix it. int x; switch(x) {

[Issue 4082] nothrow main() can throw

2012-08-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4082 --- Comment #2 from Marco Leise 2012-08-15 01:06:15 PDT --- Since it all applies to FuncDeclaration::semantic3(...), I'll add this case: void b(Test t) nothrow { } struct Test { ~this() { throw new Exception("i am throwing");

[Issue 4082] nothrow main() can throw

2010-06-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4082 Byron Heads changed: What|Removed |Added CC||bhe...@emich.edu --- Comment #1 from Byr