[Issue 2828] Typedef'ed template struct incorrectly recognized as an inner struct

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Apr 11 12:57:03 PDT 2009


http://d.puremagic.com/issues/show_bug.cgi?id=2828





------- Comment #1 from unknown at 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]


-- 



More information about the Digitalmars-d-bugs mailing list