[Issue 211] Linking error with alias mixin params and anonymous methods

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jul 10 05:29:27 PDT 2008


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


h3r3tic at mat.uni.torun.pl changed:

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




------- Comment #3 from h3r3tic at mat.uni.torun.pl  2008-07-10 07:29 -------
Thanks, but the following code still breaks:

// ---

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

I hope it's fine to reopen the issue. I can submit a new one if that's not a
good option ;)


-- 



More information about the Digitalmars-d-bugs mailing list