Mercurial > projects > ddmd
diff dmd/Declaration.d @ 96:acd69f84627e
further work
author | Trass3r |
---|---|
date | Tue, 31 Aug 2010 02:12:15 +0200 |
parents | 43073c7c7769 |
children | e28b18c23469 |
line wrap: on
line diff
--- a/dmd/Declaration.d Mon Aug 30 23:08:44 2010 +0200 +++ b/dmd/Declaration.d Tue Aug 31 02:12:15 2010 +0200 @@ -65,11 +65,12 @@ buf.writestring(sthis.type.deco); else { -debug { +debug +{ if (!fd.inferRetType) writef("%s\n", fd.toChars()); } - assert(fd.inferRetType); + assert(fd && fd.inferRetType); } id = buf.extractString();