[Issue 5007] @outer() attribute

2022-12-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5007 Iain Buclaw changed: What|Removed |Added Priority|P2 |P4 --

[Issue 5007] @outer() attribute

2014-09-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5007 --- Comment #8 from bearophile_h...@eml.cc --- Walter Bright has commented on @outer(): I suggest using 'pure' and passing the globals you actually need as ref parameters. This is what I usually do in D, but it has some small disadvantages: - It

[Issue 5007] @outer() attribute

2014-06-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5007 --- Comment #7 from bearophile_h...@eml.cc --- If you have to refactor and clean up some old C/D code you can use a tool (like an IDE) that tags every function with the appropriate @outer(), that specifies what every function reads/writes/readwrites

[Issue 5007] @outer() attribute

2014-03-09 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=5007 --- Comment #6 from bearophile_h...@eml.cc 2014-03-09 05:41:50 PDT --- The purpose of the with Global and with Depends annotations of SPARK2014 is to help mathematically prove that a function is correct. While the lighter and optional @outer()

[Issue 5007] @outer() attribute

2014-02-19 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=5007 --- Comment #5 from bearophile_h...@eml.cc 2014-02-19 15:07:18 PST --- It seems this idea of mine isn't so crazy. This is from the SPARK 2014 sublanguage:

[Issue 5007] @outer() attribute

2013-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5007 --- Comment #4 from bearophile_h...@eml.cc 2013-10-23 02:53:02 PDT --- See also: http://nimrod-code.org/blog/writetracking.html -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail

[Issue 5007] @outer() attribute

2011-06-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5007 --- Comment #3 from bearophile_h...@eml.cc 2011-06-24 17:16:06 PDT --- See for more comments: http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.Darticle_id=139389 -- Configure issuemail:

[Issue 5007] @outer() attribute

2010-10-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5007 Nick Sabalausky cbkbbej...@mailinator.com changed: What|Removed |Added CC|

[Issue 5007] @outer() attribute

2010-10-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5007 --- Comment #2 from bearophile_h...@eml.cc 2010-10-06 19:24:03 PDT --- (In reply to comment #1) but why specify the globals you're going to use? It's like in Contract Programming, where your contracts state what are the conditions on the