Thread overview
[Issue 7572] New: f.fn!(void) is not an lvalue
Feb 24, 2012
Ellery Newcomer
Aug 21, 2012
Ellery Newcomer
Apr 08, 2013
Kenji Hara
Apr 23, 2013
Kenji Hara
February 24, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7572

           Summary: f.fn!(void) is not an lvalue
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: ellery-newcomer@utulsa.edu


--- Comment #0 from Ellery Newcomer <ellery-newcomer@utulsa.edu> 2012-02-24 08:53:17 PST ---
possibly a dup of bug 2472

take out the comments and this code will fail to compile:

alias void Tr;
class F{
    Tr fn(/*Tr, T ...)(T t*/){
    }
}
void main(){
    F f = new F();
    void delegate() fx = &f.fn/*!(void)*/;
}



test.d(8): Error: f.fn!(void) is not an lvalue

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
August 21, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7572



--- Comment #1 from Ellery Newcomer <ellery-newcomer@utulsa.edu> 2012-08-20 17:52:47 PDT ---
not a dup. bug 2472 was fixed, this one still isn't. dmd 2.060

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
April 08, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=7572


Kenji Hara <k.hara.pg@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull, rejects-valid


--- Comment #2 from Kenji Hara <k.hara.pg@gmail.com> 2013-04-08 02:24:29 PDT ---
https://github.com/D-Programming-Language/dmd/pull/1868

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
April 23, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=7572



--- Comment #3 from github-bugzilla@puremagic.com 2013-04-22 23:55:39 PDT ---
Commit pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/0d66ea79a11b809122786f2445d9936fb0ce3687 fix Issue 7572 - f.fn!(void) is not an lvalue

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
April 23, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=7572


Kenji Hara <k.hara.pg@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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