[Issue 3851] New: Array copy error message with no line number
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Feb 24 08:19:53 PST 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3851
Summary: Array copy error message with no line number
Product: D
Version: 2.040
Platform: x86
OS/Version: Windows
Status: NEW
Severity: minor
Priority: P2
Component: druntime
AssignedTo: sean at invisibleduck.org
ReportedBy: bearophile_hugs at eml.cc
--- Comment #0 from bearophile_hugs at eml.cc 2010-02-24 08:19:51 PST ---
This code:
void main() {
auto a1 = new int[5];
auto a2 = new int[4];
a1[] = a2;
}
Produces an error at runtime that doesn't show the line number (and file name):
object.Exception: lengths don't match for array copy
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list