[Issue 2828] Typedef'ed template struct incorrectly recognized as an inner struct
https://issues.dlang.org/show_bug.cgi?id=2828 Andrei Alexandrescu changed: What|Removed |Added Version|2.027 |D2 --
[Issue 2828] Typedef'ed template struct incorrectly recognized as an inner struct
http://d.puremagic.com/issues/show_bug.cgi?id=2828 Don changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Comment #2 from Don 2010-11-16 04:59:58 PST --- Fixed svn 614. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 2828] Typedef'ed template struct incorrectly recognized as an inner struct
http://d.puremagic.com/issues/show_bug.cgi?id=2828 --- Comment #1 from unkn...@simplemachines.org 2009-04-11 14:57 --- Created an attachment (id=321) --> (http://d.puremagic.com/issues/attachment.cgi?id=321&action=view) Remove incorrect cast, resolve basetype. This patch fixes it, so it acts just like an alias, by resolving the base type. The intended check still works, this just resolves the TypedefDeclaration to a StructDeclaration. I also removed the cast in favor of the safer isStructDeclaration(). -[Unknown] --