https://issues.dlang.org/show_bug.cgi?id=22020
--- Comment #3 from [email protected] --- 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]; } ``` --
