Bug 3734 – [patch] src/traits.c does not compile with gcc (Ubuntu 4.4.1-4ubuntu8) 4.4.1
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
Other
OS
Linux
Creation time
2010-01-22T20:06:00Z
Last change time
2015-06-09T01:27:39Z
Assigned to
nobody
Creator
jason.james.house
Comments
Comment #0 by jason.james.house — 2010-01-22T20:06:10Z
It looks parenthesis were accidentally forgotten. This would probably manifest itself as some kind of bug in the future...
diff traits.c.bk traits.c
57c57
< if (p->ident == Id::getVirtualFunctions && !f->isVirtual)
---
> if (p->ident == Id::getVirtualFunctions && !f->isVirtual())