digitalmars.D.bugs - [Issue 379] New: wrong thisptr type in typedef'ed struct
- d-bugmail puremagic.com (23/24) Sep 27 2006 http://d.puremagic.com/issues/show_bug.cgi?id=379
- Thomas Kuehne (11/22) Sep 29 2006 -----BEGIN PGP SIGNED MESSAGE-----
- Tomas Lindquist Olsen (16/50) Oct 26 2006 Same for classes:
- Thomas Kuehne (12/15) Nov 23 2006 -----BEGIN PGP SIGNED MESSAGE-----
- d-bugmail puremagic.com (9/9) Nov 25 2006 http://d.puremagic.com/issues/show_bug.cgi?id=379
http://d.puremagic.com/issues/show_bug.cgi?id=379 Summary: wrong thisptr type in typedef'ed struct Product: D Version: 0.167 Platform: PC OS/Version: Windows Status: NEW Keywords: rejects-valid Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: h3r3tic mat.uni.torun.pl struct Foo { void foo() { } } typedef Foo Bar; void main() { Bar a; a.foo(); }this for foo needs to be type Foo not type Bar--
Sep 27 2006
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 d-bugmail puremagic.com schrieb am 2006-09-27:http://d.puremagic.com/issues/show_bug.cgi?id=379struct Foo { void foo() { } } typedef Foo Bar; void main() { Bar a; a.foo(); }test case: http://dstress.kuehne.cn/run/t/typedef_07_B.d Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFFHM1ELK5blCcjpWoRAriCAJ4ugxK4pe+lJvgUQfsn5aZMBRb0jQCgrYm+ rqNcMUpIDQS07De5cEywqJs= =oOxE -----END PGP SIGNATURE-----this for foo needs to be type Foo not type Bar
Sep 29 2006
d-bugmail puremagic.com wrote:http://d.puremagic.com/issues/show_bug.cgi?id=379 Summary: wrong thisptr type in typedef'ed struct Product: D Version: 0.167 Platform: PC OS/Version: Windows Status: NEW Keywords: rejects-valid Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: h3r3tic mat.uni.torun.pl struct Foo { void foo() { } } typedef Foo Bar; void main() { Bar a; a.foo(); }Same for classes: --------- import std.stdio : writefln; class Foo { int xxx; } typedef Foo Bar; void main() { auto b = new Bar; writefln("%d", b.xxx); } ----------- this for xxx needs to be type Foo not type Barthis for foo needs to be type Foo not type Bar
Oct 26 2006
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Tomas Lindquist Olsen schrieb am 2006-10-26:d-bugmail puremagic.com wrote:http://d.puremagic.com/issues/show_bug.cgi?id=379Same for classes:<snip> test case: http://dstress.kuehne.cn/run/t/typedef_19_C.d Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFFZXleLK5blCcjpWoRAsgxAJoDfVRD0pjv3w8CmKJXW50BAax4oQCdFUlh sJEw6dSfrRo7sIwzjcaZlZg= =6Hgx -----END PGP SIGNATURE-----
Nov 23 2006
http://d.puremagic.com/issues/show_bug.cgi?id=379 bugzilla digitalmars.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED Fixed DMD 0.175 --
Nov 25 2006