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

Thomas Kuehne thomas-dloop at kuehne.cn
Fri Jul 7 10:06:44 PDT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

d-bugmail at puremagic.com schrieb am 2006-06-19:
> http://d.puremagic.com/issues/show_bug.cgi?id=211

> template Foo(alias f) {
> }
>
> class Bar {
>         mixin Foo!( function {} );
> }
>
> void main() {
> }
>
>
> // result:
>
>
> D:\WINDOWS\system32\cmd.exe /c dmd tmp7.d
> d:\coding\dmd\bin\..\..\dm\bin\link.exe tmp7,,,user32+kernel32/noi;
> OPTLINK (R) for Win32  Release 7.50B1
> Copyright (C) Digital Mars 1989 - 2001  All Rights Reserved
>
> tmp7.obj(tmp7)
>  Error 42: Symbol Undefined _D4tmp73Bar14__funcliteral1FZv

Added to DStress as
http://dstress.kuehne.cn/run/m/mixin_23_A.d
http://dstress.kuehne.cn/run/m/mixin_23_B.d
http://dstress.kuehne.cn/run/m/mixin_23_C.d
http://dstress.kuehne.cn/run/m/mixin_23_D.d

Thomas


-----BEGIN PGP SIGNATURE-----

iD8DBQFErlXLLK5blCcjpWoRAiX0AKCYL6of1wSxKKBFgCxxUaj8d5GF+gCgjLSp
hPs9Pu9dwh4A7VVpUa0fkI0=
=8eOf
-----END PGP SIGNATURE-----



More information about the Digitalmars-d-bugs mailing list