[Issue 285] New: Struct method null pointer assert has line number of "0"
Thomas Kuehne
thomas-dloop at kuehne.cn
Mon Aug 14 04:45:25 PDT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
d-bugmail at puremagic.com schrieb am 2006-08-12:
> http://d.puremagic.com/issues/show_bug.cgi?id=285
> struct S
> {
> void fork()
> {
>
> }
> }
>
> void main()
> {
> S* s = null;
> s.fork();
> }
>
> This causes an AssertError with the correct module name, but with a line number
> of 0, which is really, really unhelpful.
Added to DStress as
http://dstress.kuehne.cn/norun/s/struct_26_A.d
Thomas
-----BEGIN PGP SIGNATURE-----
iD8DBQFE311mLK5blCcjpWoRAgLDAJ983i4AEjVnn+emYaqF5M7rNomWnwCdFh8j
ZZrKf+r07qwMgzWZMsQVBy4=
=GPCO
-----END PGP SIGNATURE-----
More information about the Digitalmars-d-bugs
mailing list