digitalmars.D.bugs - [Issue 23832] New: dmd regression 2.103.0 silent error cannot call
- d-bugmail puremagic.com (28/28) Apr 06 2023 https://issues.dlang.org/show_bug.cgi?id=23832
https://issues.dlang.org/show_bug.cgi?id=23832 Issue ID: 23832 Summary: dmd regression 2.103.0 silent error cannot call decode at runtime Product: D Version: D2 Hardware: All OS: Windows Status: NEW Severity: regression Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: alphaglosined gmail.com The second static assert below will not trigger, but the first will. dmd -betterC test.d ```d void main() { import std.utf : decode; size_t i; string str = "test"; // static assert(0); dchar c = decode(str, i); static assert(0); } ``` No output is given without the first static assert. --
Apr 06 2023