[Issue 3884] Segfault: defining a typedef with an invalid object.d
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Mar 16 01:02:42 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3884
Don <clugdbug at yahoo.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |patch
--- Comment #3 from Don <clugdbug at yahoo.com.au> 2010-03-16 01:02:39 PDT ---
This is really obscure, but here's a patch:
typeinf.c, line 108:
Expression *Type::getTypeInfo(Scope *sc)
{
Expression *e;
Type *t;
+ if (!Type::typeinfo)
+ {
+ error(0, "TypeInfo not found. object.d may be incorrectly installed or
corrupt");
+ return new ErrorExp();
+ }
//printf("Type::getTypeInfo() %p, %s\n", this, toChars());
--
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