[Issue 2340] New: Template properties don't work

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Sep 6 18:19:39 PDT 2008


http://d.puremagic.com/issues/show_bug.cgi?id=2340

           Summary: Template properties don't work
           Product: D
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: andrei at metalanguage.com


struct A
{
    void foo(int) {}
    void bar(T)(T) {}
}

void main()
{
    A a;
    a.foo = 5;
    a.bar = 6;
}

The last line of main does not compile.


-- 



More information about the Digitalmars-d-bugs mailing list