https://issues.dlang.org/show_bug.cgi?id=9062
Iain Buclaw changed:
What|Removed |Added
Priority|P2 |P4
--
http://d.puremagic.com/issues/show_bug.cgi?id=9062
Walter Bright bugzi...@digitalmars.com changed:
What|Removed |Added
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=9062
--- Comment #14 from Kenji Hara k.hara...@gmail.com 2012-12-05 16:26:04 PST
---
(In reply to comment #13)
C++ has one special case where (e) means something different from e. (Few
people know that case exists.)
Adding such to D makes me
http://d.puremagic.com/issues/show_bug.cgi?id=9062
--- Comment #15 from Walter Bright bugzi...@digitalmars.com 2012-12-05
16:37:04 PST ---
I understand the ambiguity issue, and I am not proposing a solution. I'm just
arguing against the e and (e) solution as (perhaps) causing more ambiguity
http://d.puremagic.com/issues/show_bug.cgi?id=9062
David Nadlinger c...@klickverbot.at changed:
What|Removed |Added
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=9062
--- Comment #11 from Kenji Hara k.hara...@gmail.com 2012-11-25 01:51:06 PST
---
(In reply to comment #10)
I am not sure what you are trying to do here. Anyways, the following should
work:
template PropertyTypeOf(alias prop) {
alias
http://d.puremagic.com/issues/show_bug.cgi?id=9062
d...@dawgfoto.de changed:
What|Removed |Added
CC||d...@dawgfoto.de
--- Comment #3
http://d.puremagic.com/issues/show_bug.cgi?id=9062
--- Comment #4 from Kenji Hara k.hara...@gmail.com 2012-11-23 04:57:35 PST ---
(In reply to comment #3)
If @property is all about equivalence of fields and accessors, then foo
should
not return a function pointer.
Then, there is no way to
http://d.puremagic.com/issues/show_bug.cgi?id=9062
timon.g...@gmx.ch changed:
What|Removed |Added
CC||timon.g...@gmx.ch
--- Comment #5
http://d.puremagic.com/issues/show_bug.cgi?id=9062
--- Comment #6 from timon.g...@gmx.ch 2012-11-23 05:04:00 PST ---
(In reply to comment #4)
(In reply to comment #3)
If @property is all about equivalence of fields and accessors, then foo
should
not return a function pointer.
Then,
http://d.puremagic.com/issues/show_bug.cgi?id=9062
--- Comment #7 from Kenji Hara k.hara...@gmail.com 2012-11-23 05:32:10 PST ---
(In reply to comment #6)
Then, there is no way to get a function pointer from property function,
right?
...
()ref = foo
It looks like a lambda. Is it same
http://d.puremagic.com/issues/show_bug.cgi?id=9062
--- Comment #8 from timon.g...@gmx.ch 2012-11-23 05:41:30 PST ---
(In reply to comment #7)
(In reply to comment #6)
Then, there is no way to get a function pointer from property function,
right?
...
()ref = foo
It looks like
http://d.puremagic.com/issues/show_bug.cgi?id=9062
--- Comment #9 from Kenji Hara k.hara...@gmail.com 2012-11-23 06:06:46 PST ---
(In reply to comment #8)
[snip]
OK, I understood what you say. But implementing it in library might be much
difficult...
---
// An experimental implementation of
http://d.puremagic.com/issues/show_bug.cgi?id=9062
--- Comment #10 from timon.g...@gmx.ch 2012-11-23 06:54:28 PST ---
(In reply to comment #9)
(In reply to comment #8)
[snip]
OK, I understood what you say. But implementing it in library might be much
difficult...
---
// An
/2897ca8807d6ab54fc2c983325104b96d1bda10e
fix Issue 9062 - AddrExp should distinguish the existence of property
resolution
https://github.com/D-Programming-Language/phobos/commit/1ce5ca470a4520d1c3956e14ec3e8dfb4fcd907f
Merge pull request #966 from 9rnsr/fix9062
Supplemental fix for Issue 9062 - AddrExp should distinguish
15 matches
Mail list logo