[Issue 19764] New: Mutable data passed to _d_assert_fail
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Mar 26 15:08:56 UTC 2019
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 at puremagic.com
Reporter: dfj1esp02 at 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
--
More information about the Digitalmars-d-bugs
mailing list