March 26, 2019 [Issue 19764] New: Mutable data passed to _d_assert_fail | ||||
---|---|---|---|---|
| ||||
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 -- |
Copyright © 1999-2021 by the D Language Foundation