Bug 2220 – Linking error with alias mixin params and anonymous methods - take 2

Status
RESOLVED
Resolution
DUPLICATE
Severity
minor
Priority
P3
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Windows
Creation time
2008-07-12T02:31:00Z
Last change time
2014-03-01T00:36:18Z
Keywords
link-failure
Assigned to
nobody
Creator
h3r3tic

Comments

Comment #0 by h3r3tic — 2008-07-12T02:31:14Z
This is a continuation of issue 211. The spec doesn't mention whether the following should compile (if I remember correctly), but a linking error should not be the result nevertheless: // --- 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 Thanks!
Comment #1 by Marco.Leise — 2014-01-18T17:39:17Z
Is this related to #1404 perhaps?
Comment #2 by Marco.Leise — 2014-01-18T17:43:25Z
*** This issue has been marked as a duplicate of issue 1404 ***