[Issue 1404] Link failure with template mixin and function literal

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jan 18 17:44:57 PST 2014


https://d.puremagic.com/issues/show_bug.cgi?id=1404



--- Comment #3 from Marco Leise <Marco.Leise at gmx.de> 2014-01-18 17:44:57 PST ---
The test case from Issue 2220:

// ---

template Foo(alias f) {
        void foo() {
                f();
        }
}

class Bar {
        mixin Foo!( function { } );
}

void main() {}

// ---

dmd issue211.d && issue211
OPTLINK (R) for Win32  Release 8.00.1
Copyright (C) Digital Mars 1989-2004  All rights reserved.
issue211.obj(issue211)
 Error 42: Symbol Undefined _D8issue2113Bar14__funcliteral1MFZv

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


More information about the Digitalmars-d-bugs mailing list