[Issue 7891] New: int[] broken in vararg if it appears after 5 arguments of type bool
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Apr 11 12:08:48 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7891
Summary: int[] broken in vararg if it appears after 5 arguments
of type bool
Product: D
Version: unspecified
Platform: x86_64
OS/Version: Linux
Status: NEW
Severity: major
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: mathias.baumann at sociomantic.com
--- Comment #0 from Mathias Baumann <mathias.baumann at sociomantic.com> 2012-04-11 12:09:32 PDT ---
Certain combination of parameters make an int[] array fail when called at a
vararg function _inside_ a class.
Output of attached program for me is:
Note the length of the second inside block
INSIDE:
Size: 16 Array: len: 3 ptr: 7f8e5c733ce0.
Size: 1 Bool: 1
Size: 1 Bool: 1
Size: 1 Bool: 1
Size: 1 Bool: 1
Size: 16 Array: len: 3 ptr: 7f8e5c733ce0.
Size: 1 Bool: 1
INSIDE:
Size: 1 Bool: 1
Size: 1 Bool: 1
Size: 1 Bool: 1
Size: 1 Bool: 1
Size: 1 Bool: 1
Size: 16 Array: len: 140249413139680 ptr: 3.
Size: 1 Bool: 224
OUTSIDE:
Size: 16 Array: len: 3 ptr: 7f8e5c733ce0.
Size: 1 Bool: 1
Size: 1 Bool: 1
Size: 1 Bool: 1
Size: 1 Bool: 1
Size: 16 Array: len: 3 ptr: 7f8e5c733ce0.
Size: 1 Bool: 1
Class: 7f8e5c733d00 140249413139712
--
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