mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-08 11:56:12 +03:00
Forgot to set the (ClassInfo.flags & 32) bit added in 1.045.
This commit is contained in:
parent
e8780d50e8
commit
6633d696c9
1 changed files with 5 additions and 0 deletions
|
@ -636,6 +636,11 @@ static unsigned build_classinfo_flags(ClassDeclaration* cd)
|
|||
L2:
|
||||
if (hasOffTi)
|
||||
flags |= 4;
|
||||
|
||||
// always define the typeinfo field.
|
||||
// why would ever not do this?
|
||||
flags |= 32;
|
||||
|
||||
return flags;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue