digitalmars.D.bugs - [Issue 19764] New: Mutable data passed to _d_assert_fail
- d-bugmail puremagic.com (27/27) Mar 26 2019 https://issues.dlang.org/show_bug.cgi?id=19764
https://issues.dlang.org/show_bug.cgi?id=19764 Issue ID: 19764 Summary: Mutable data passed to _d_assert_fail Product: D Version: D2 Hardware: All URL: https://forum.dlang.org/post/gwhsgdpodmatjdnubvrp foru m.dlang.org OS: All Status: NEW Keywords: diagnostic Severity: normal Priority: P1 Component: druntime Assignee: nobody puremagic.com Reporter: dfj1esp02 sneakemail.com When compiled with -checkaction=context --- void f() { char[] a; assert(a=="0"); } --- Error: template instance `object._d_assert_fail!("==", char[], string)` error instantiating --
Mar 26 2019