http://d.puremagic.com/issues/show_bug.cgi?id=3562
Summary: Static Array ops create duplicate method definitions
Product: D
Version: 2.036
Platform: Other
OS/Version: Windows
Status: NEW
Keywords: link-failure
Severity: regression
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Rob Jacques <[email protected]> 2009-11-30 14:40:28 PST ---
The array ops generated for static arrays appear to trigger Issue 2703/2789 (or
something similar). I'm filling a separate issue as fixing Issue 2703/2789,
would simply convert the linking error to a compiling error.
------ goodbye.d
void foo() {
float[3] a = [-1,-2,-3];
float[3] b;
b[] = -a[];
}
----- hello.d
import goodbye;
void main(string[] args) {
float[3] a = [-1,-2,-3];
float[3] b;
b[] = -a[];
}
---- Error
Previous Definition Different : __arraySliceNegSliceAssign_f|
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------