[Issue 3796] Result of .stringof is affected by unrelated function declarations

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Feb 13 00:33:14 PST 2010


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


Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla at digitalmars.com


--- Comment #1 from Walter Bright <bugzilla at digitalmars.com> 2010-02-13 00:33:13 PST ---
Types are stored in an associative array indexed by the mangled string for the
type. The problem is that there are different ways to have a function type that
produces the same mangling - i.e. the arguments can be tuples or not tuples.

The problem shows up when trying to take the pointer to a function type, and
different functions have become represented by one of the original function
mangled types.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list