[Issue 3379] [tdpl] Parameter names not visible in the if clause of a template

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Oct 22 00:09:37 PDT 2009


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


Don <clugdbug at yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #474 is|0                           |1
           obsolete|                            |


--- Comment #5 from Don <clugdbug at yahoo.com.au> 2009-10-22 00:09:36 PDT ---
Created an attachment (id=480)
Revised patch against 2.035 svn 215.

My patch had a nasty segfault regression. Trivial though. The line:

FuncDeclaration *fd = onemember->toAlias()->isFuncDeclaration();
if (fd)

causes segfaults if either onemember or toAlias() returns NULL.
fd should be NULL in either of those cases.

-- 
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