February 10, 2005 assertion failure | ||||
---|---|---|---|---|
| ||||
DMD 0.112 WIN32 ----------- struct Marko { int a; int* m = &a; } ----------- Assertion failure: '!needThis()' on line 139 in file 'tocsym.c' |
February 11, 2005 Re: assertion failure | ||||
---|---|---|---|---|
| ||||
Posted in reply to marko | marko wrote: > DMD 0.112 WIN32 > > ----------- > struct Marko > { > int a; > int* m = &a; > } > ----------- > > Assertion failure: '!needThis()' on line 139 in file 'tocsym.c' I reported this only the other day. Walter tells me that this is invalid code, presumably because &a isn't determinable at compile time. And that it's just been fixed to deliver an appropriate error message. Stewart. -- My e-mail is valid but not my primary mailbox. Please keep replies on the 'group where everyone may benefit. |
Copyright © 1999-2021 by the D Language Foundation