[Issue 5750] Allow pure functions to have lazy arguments
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Mar 18 17:56:36 PDT 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5750
Jonathan M Davis <jmdavisProg at gmx.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jmdavisProg at gmx.com
--- Comment #1 from Jonathan M Davis <jmdavisProg at gmx.com> 2011-03-18 17:53:22 PDT ---
I definitely like this idea, but I am a bit worried that it will be somewhat
buggy if integrated at present. I believe that there are at least a couple of
bugs (such as bug# 3833 ) related delegates not dealing with attributes such as
const and pure properly, and you can end up with attributes being ignored when
they shouldn't be. That doesn't necessarily mean that this shouldn't be
integrated right now, but it _does_ mean that the result could be buggy.
I'm sure that Don has a far better understanding of all of that sort of
compiler stuff than I do (and perhaps he's taken all of what I've said into
account already), but I thought that I should point out that stuff like const
and pure don't really seem to work properly with delegates, so this enhancement
- while definitely desirable - may not work very well at the moment.
--
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