[Issue 3650] functions are considered pointers

2014-04-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3650

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

   What|Removed |Added

Version|1.051   |D1

--


[Issue 3650] functions are considered pointers

2011-04-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3650


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

   What|Removed |Added

 Status|REOPENED|RESOLVED
 CC||bugzi...@digitalmars.com
 Resolution||INVALID


--- Comment #5 from Walter Bright bugzi...@digitalmars.com 2011-04-12 
11:15:01 PDT ---
void function() foo;

declares foo as a function pointer.

is(T T2 : T2*)

matches a pointer, and sets T2 to whatever is pointed to.

Hence what is printed out is correct. Not a bug.

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


[Issue 3650] functions are considered pointers

2011-01-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3650


nfx...@gmail.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WONTFIX


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


[Issue 3650] functions are considered pointers

2011-01-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3650


Brad Roberts bra...@puremagic.com changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 CC||bra...@puremagic.com
 Resolution|WONTFIX |


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


[Issue 3650] functions are considered pointers

2010-01-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3650



--- Comment #4 from nfx...@gmail.com 2010-01-19 12:30:59 PST ---
PS: as far as is() is concerned, functions should just work like delegates. Any
difference should be considered as bug.

Also, if this happens not to be a bug, please mark it as enhancement, and not
as invalid (like I said above).

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


[Issue 3650] functions are considered pointers

2010-01-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3650


Stewart Gordon s...@iname.com changed:

   What|Removed |Added

Version|1.054   |1.051


--- Comment #2 from Stewart Gordon s...@iname.com 2010-01-02 16:44:03 PST ---
You stated that it's 1.053 you found it in, but inadvertently set it to 1.054
when the version list was updated.

But I've just found that I'm still on 1.051 and the bug shows in it, so
reverting per policy.

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


[Issue 3650] functions are considered pointers

2010-01-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3650



--- Comment #3 from nfx...@gmail.com 2010-01-02 16:51:16 PST ---
I guess the bug exists since the early days of dmd.
Just to clarify it: it also exists in 1.054. (That's why I changed it; sorry
for the confusion, won't do again.)

A statement from Walter whether this is an anti-feature or a bug would be nice.
(And in general, there are far too many bug reports with unknown status, that
remain uncommented.)

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


[Issue 3650] functions are considered pointers

2009-12-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3650


Stewart Gordon s...@iname.com changed:

   What|Removed |Added

 CC||s...@iname.com


--- Comment #1 from Stewart Gordon s...@iname.com 2009-12-26 11:11:08 PST ---
I've always been under the impression that immediate function types aren't
meant to exist in D, which would mean that the is expression should fail.

But there does seem to be some confusion over it.  And in any case, the
stringof does seem wrong.

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