Comment #1 by andrej.mitrovich — 2012-10-04T17:49:56Z
I can fix this but I need a little help with the error implementation. After adding a check I end up with:
mymod.d(3): Error: struct test.Foo cannot have field foos with same struct type
mymod.d(3): Error: struct test.Foo cannot have field foos with same struct type
mymod.d(3): Error: struct test.Foo cannot have field foos with same struct type
mymod.d(3): Error: struct test.Foo cannot have field foos with same struct type
mymod.d(3): Error: struct test.Foo cannot have field foos with same struct type
mymod.d(3): Error: struct test.Foo cannot have field foos with same struct type
mymod.d(3): Error: struct test.Foo cannot have field foos with same struct type
mymod.d(3): Error: struct test.Foo cannot have field foos with same struct type
mymod.d(3): Error: struct test.Foo cannot have field foos with same struct type
mymod.d(3): Error: struct test.Foo cannot have field foos with same struct type
mymod.d(3): Error: struct test.Foo cannot have field foos with same struct type
mymod.d(3): Error: struct test.Foo cannot have field foos with same struct type
mymod.d(3): Error: struct test.Foo cannot have field foos with same struct type
mymod.d(3): Error: struct test.Foo cannot have field foos with same struct type
mymod.d(3): Error: struct test.Foo cannot have field foos with same struct type
mymod.d(3): Error: struct test.Foo cannot have field foos with same struct type
mymod.d(3): Error: struct test.Foo cannot have field foos with same struct type
mymod.d(3): Error: struct test.Foo cannot have field foos with same struct type
mymod.d(3): Error: struct test.Foo cannot have field foos with same struct type
mymod.d(3): Error: struct test.Foo cannot have field foos with same struct type
mymod.d(3): Error: struct test.Foo cannot have field foos with same struct type
Anyone savvy enough with DMD knows how to avoid spawning so much errors?
Comment #2 by andrej.mitrovich — 2012-10-04T17:53:57Z
(In reply to comment #1)
> I can fix this but I need a little help with the error implementation. After
> adding a check I end up with:
Ok I think I've got it, making pull shortly..
Comment #3 by bearophile_hugs — 2012-10-06T03:48:43Z