[Issue 22583] Corrupted function parameters
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Dec 13 13:14:12 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=22583
--- Comment #2 from Dennis <dkorpel at live.nl> ---
Nevermind, it actually looks like it has to do with the amount of float
parameters. This still triggers it:
```
void main()
{
draw([1, 2, 3], 0, 0, 0, 0, 0, 0, 0, 0, 0);
}
void draw(float[3] region, float, float, float, float, float, float, float,
float, float)
{
assert(region[0] == 1);
assert(region[1] == 2);
assert(region[2] == 3);
}
```
But removing any `float` will make it work.
--
More information about the Digitalmars-d-bugs
mailing list