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

--- Comment #0 from Ellery Newcomer <> 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:
------- You are receiving this mail because: -------

Reply via email to