[Issue 22020] The profile flag does not work in Windows.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Jun 18 17:12:17 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=22020
--- Comment #3 from lempiji at gmail.com ---
By the way, when I rewrote the sample code, I was able to reproduce this as
well.
- If delete the dependency in dub.sdl, it won't reproduced.
- If delete import std.stdio and writeln, it won't reproduced.
- If delete &arr[0]; in getptr, it won't reproduced.
```
/+ dub.sdl:
dependency "mir-algorithm" version="*"
+/
import std.stdio;
void main()
{
writeln(getptr(new byte[10]));
}
byte* getptr(byte[] arr)
{
return &arr[0];
}
```
--
More information about the Digitalmars-d-bugs
mailing list