mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-06 19:06:02 +03:00
D2:
Applied function type from D1 frontend that got removed in D2, it's critical for member function type to be correct. Fixed a bunch of type discrepancies in druntime object.di vs. genobj.d . Disabled (#if 0) some potentally very large type dumps for -vv . Updated classinfo and typeinfo generation for D2, almost complete now. Added finer grained checks for vtbl type mismatching, aids debugging.
This commit is contained in:
parent
2cd4d15be1
commit
f6997cb604
12 changed files with 82 additions and 18 deletions
|
@ -848,7 +848,9 @@ void DtoConstInitGlobal(VarDeclaration* vd)
|
|||
{
|
||||
Logger::println("setting initializer");
|
||||
Logger::cout() << "global: " << *gvar << '\n';
|
||||
#if 0
|
||||
Logger::cout() << "init: " << *initVal << '\n';
|
||||
#endif
|
||||
}
|
||||
|
||||
gvar->setInitializer(initVal);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue