Hi,
Can anyone help me why this code goes wrong? I get exit code 139
with DMD 2.063
import std.stdio;
struct Test {
string val = "";
string[] key;
/**
* operator "=" overload
*/
Test opAssign(string val){
this.val =
I think you've hit bug city in the associative array
implementation. The "this" in there doesn't seem to point at
anything meaningful. This is probably worthy of a bug report.
A potential workaround is to store pointers to your structs in
the associative array, that way you can set them up ahe
On 06/12/2013 01:12 PM, gedaiu wrote:
> Hi,
>
> Can anyone help me why this code goes wrong? I get exit code 139 with
> DMD 2.063
>
>
> import std.stdio;
>
>
>
> struct Test {
> string val = "";
> string[] key;
>
> /**
> * operator "=" overload
> */
> Test opAssign
Hi,
How should i submit this bug?
Thanks,
Bogdan
On Wednesday, 12 June 2013 at 20:49:54 UTC, Ali Çehreli wrote:
On 06/12/2013 01:12 PM, gedaiu wrote:
> Hi,
>
> Can anyone help me why this code goes wrong? I get exit code
139 with
> DMD 2.063
>
>
> import std.stdio;
>
>
>
> struct Test {
>
On 06/12/2013 11:56 PM, gedaiu wrote:
> How should i submit this bug?
You can reduce it to a minimal program first and then submit at
http://d.puremagic.com/issues/
Here is a reduced program:
struct Test {
string[] keys;
Test opAssign(Test rhs){
assert(this.keys !is null);
On 06/13/2013 09:11 AM, Ali Çehreli wrote:
On 06/12/2013 11:56 PM, gedaiu wrote:
> How should i submit this bug?
You can reduce it to a minimal program first and then submit at
http://d.puremagic.com/issues/
Thank you for submitting it:
http://d.puremagic.com/issues/show_bug.cgi?id=10