http://d.puremagic.com/issues/show_bug.cgi?id=9971
Walter Bright changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
/f34c77f6f19ea516c19842f2aff0e43a7d94c3ef
fix Issue 9971 - eponymous function is not an lvalue
https://github.com/D-Programming-Language/dmd/commit/654de7808e89204d20bac6f7f228fe07e3dd2c7a
Merge pull request #1970 from 9rnsr/fix9971
Issue 9971 - eponymous function is not an lvalue
--
Configure issuemail: http://d.puremagic.com/issues
http://d.puremagic.com/issues/show_bug.cgi?id=9971
Kenji Hara changed:
What|Removed |Added
Keywords||pull, rejects-valid
--- Comment #8 from K
http://d.puremagic.com/issues/show_bug.cgi?id=9971
--- Comment #7 from Maxim Fomin 2013-04-20 23:41:27 PDT
---
Yes, you are both right.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
http://d.puremagic.com/issues/show_bug.cgi?id=9971
--- Comment #6 from Kenji Hara 2013-04-20 23:10:56 PDT ---
I think this is a bug.
Inside template function, the name 'goo' should be resolved to the instantiated
function 1st, then rewritten to template 'goo' if needed.
For example, this code
http://d.puremagic.com/issues/show_bug.cgi?id=9971
deadalnix changed:
What|Removed |Added
CC||deadal...@gmail.com
--- Comment #5 from de
http://d.puremagic.com/issues/show_bug.cgi?id=9971
--- Comment #4 from Ellery Newcomer 2013-04-20
22:45:05 PDT ---
(In reply to comment #3)
>
> Sorry I don't see your point. Note, that second message is printed
> irrespective
> to instantiation and none of the messages is sensitive to what T
http://d.puremagic.com/issues/show_bug.cgi?id=9971
--- Comment #3 from Maxim Fomin 2013-04-20 22:32:39 PDT
---
(In reply to comment #2)
> It is inconsistent with the way templated structs and classes work:
>
> void main() {
> alias T!(int) t1;
> }
>
> struct T(j) {
> pragma(msg, "a s
http://d.puremagic.com/issues/show_bug.cgi?id=9971
--- Comment #2 from Ellery Newcomer 2013-04-20
22:17:10 PDT ---
(In reply to comment #1)
> I think it does not work because &goo is address of raw template and dmd does
> not instantiate it, so you should use pointer to instantiated function.
http://d.puremagic.com/issues/show_bug.cgi?id=9971
Maxim Fomin changed:
What|Removed |Added
CC||ma...@maxim-fomin.ru
--- Comment #1 from
10 matches
Mail list logo