[Issue 12144] New: [REG DMD2.064] Unresolved xopEquals when referenced by dynamic array constructor
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Feb 12 12:22:05 PST 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12144
Summary: [REG DMD2.064] Unresolved xopEquals when referenced by
dynamic array constructor
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: regression
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: sludwig at outerproduct.org
--- Comment #0 from Sönke Ludwig <sludwig at outerproduct.org> 2014-02-12 12:22:01 PST ---
The following fails starting from DMD 2.064 (2.063 works, 2.065-beta3 still
fails)
a.d
---
import b;
void main() { fun(); }
---
b.d
---
struct S { bool opEquals(T : S)(T) { return false; } }
S[] fun()() { return new S[1]; }
---
dmd -lib b.d
dmd a.d b.lib
results in:
OPTLINK (R) for Win32 Release 8.00.15
Copyright (C) Digital Mars 1989-2013 All rights reserved.
http://www.digitalmars.com/ctg/optlink.html
a.obj(a)
Error 42: Symbol Undefined _D1b1S11__xopEqualsFKxS1b1SKxS1b1SZb
--- errorlevel 1
--
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