digitalmars.D.bugs - [Issue 16262] New: assumeUTF attributes change between debug and
- via Digitalmars-d-bugs (22/22) Jul 10 2016 https://issues.dlang.org/show_bug.cgi?id=16262
https://issues.dlang.org/show_bug.cgi?id=16262 Issue ID: 16262 Summary: assumeUTF attributes change between debug and release mode Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P1 Component: phobos Assignee: nobody puremagic.com Reporter: lodovico giaretart.net assumeUTF is nogc in release mode, but not in debug mode. The reason is that in debug mode it performs additional checks, which is not bad per se, but makes working with assumeUTF too difficult (e.g. I cannot use nogc unittests). In general, this change of meaning between debug and release mode should be avoided. See also https://forum.dlang.org/thread/wxxcwafaijelaavglxys forum.dlang.org --
Jul 10 2016