[Issue 7803] Regression(2.054) scope(success) in nothrow/@safe functions causes compile errors

2012-12-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7803



--- Comment #7 from github-bugzi...@puremagic.com 2012-12-19 06:41:36 PST ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/2926c0a493254efeaaff21fe920a00db58f46693
partially fix Issue 7803 - Regression(2.054) scope(success) in nothrow/@safe
functions causes compile errors

https://github.com/D-Programming-Language/dmd/commit/d6a2b1c95d8409e5e2ff0b60de64e2ee25283d96
Merge pull request #1388 from 9rnsr/fix7803

partially fix Issue 7803 - Regression(2.054) scope(success) in nothrow/@safe
functions causes compile errors

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 7803] Regression(2.054) scope(success) in nothrow/@safe functions causes compile errors

2012-12-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7803


Kenji Hara k.hara...@gmail.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


--- Comment #8 from Kenji Hara k.hara...@gmail.com 2012-12-19 17:25:29 PST ---
Now original code can be compiled as expected.

Different from bug 6278, the internal catch and re-throwing which used for
scope(success) do not affect to whole code semantics. So I mark this resolved
fixed.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 7803] Regression(2.054) scope(success) in nothrow/@safe functions causes compile errors

2012-12-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7803



--- Comment #9 from Kenji Hara k.hara...@gmail.com 2012-12-19 17:32:32 PST ---
(In reply to comment #8)
 Now original code can be compiled as expected.
 
 Different from bug 6278, the internal catch and re-throwing which used for
 scope(success) do not affect to whole code semantics. So I mark this resolved
 fixed.

But, there is still internal semantic inconsistency:
- Catching Throwable object in @safe code
- Re-throwing Throwable object in nothrow code

In these points, I couldn't resolve the issues cleanly...

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 7803] Regression(2.054) scope(success) in nothrow/@safe functions causes compile errors

2012-12-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7803


Kenji Hara k.hara...@gmail.com changed:

   What|Removed |Added

   Keywords||pull


--- Comment #6 from Kenji Hara k.hara...@gmail.com 2012-12-18 19:24:29 PST ---
https://github.com/D-Programming-Language/dmd/pull/1388

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 7803] Regression(2.054) scope(success) in nothrow/@safe functions causes compile errors

2012-07-29 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7803


Walter Bright bugzi...@digitalmars.com changed:

   What|Removed |Added

 CC||bugzi...@digitalmars.com


--- Comment #4 from Walter Bright bugzi...@digitalmars.com 2012-07-29 
14:56:44 PDT ---
Is this really a regression? When did it work?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 7803] Regression(2.054) scope(success) in nothrow/@safe functions causes compile errors

2012-07-29 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7803



--- Comment #5 from yebblies yebbl...@gmail.com 2012-07-30 12:34:27 EST ---
(In reply to comment #4)
 Is this really a regression? When did it work?

I haven't tested it, but I assume it is the same cause as issue 6278, and needs
the same fix (mark generated catches so they don't get checked for @safety.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 7803] Regression(2.054) scope(success) in nothrow/@safe functions causes compile errors

2012-07-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7803


yebblies yebbl...@gmail.com changed:

   What|Removed |Added

 CC||yebbl...@gmail.com
Summary|scope(success) in   |Regression(2.054)
   |nothrow/@safe functions |scope(success) in
   |causes compile errors   |nothrow/@safe functions
   ||causes compile errors
   Severity|normal  |regression


--- Comment #3 from yebblies yebbl...@gmail.com 2012-07-26 22:18:24 EST ---
I caused this by disallowing catch() in @safe code.  Much like issue 6278.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---