[Issue 18232] string variable in toString method of Union: invalid code (crash/segfault)

2018-01-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18232 --- Comment #2 from hst...@quickfur.ath.cx --- Note also, the name `toString` is irrelevant to this bug. The same codegen bug appears if you rename the method to something else, like 'member'. Furthermore, the local variable doesn't have to be a str

[Issue 18232] string variable in toString method of Union: invalid code (crash/segfault)

2018-01-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18232 hst...@quickfur.ath.cx changed: What|Removed |Added CC||hst...@quickfur.ath.cx --- Comment #

[Issue 18232] string variable in toString method of Union: invalid code (crash/segfault)

2018-01-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18232 ag0ae...@gmail.com changed: What|Removed |Added Keywords||wrong-code CC|