D - Problems
- Vathix (9/9) Apr 19 2003 I used .rehash on an associative array, a couple times the compiler gave...
- Matthew Wilson (3/7) Apr 19 2003 Does this include "auto" qualified ones?
I used .rehash on an associative array, a couple times the compiler gave me: Assertion failure: 'fd->type->next->equals(treturn)' on line 880 in file 'func.c' I would have to just remove it for it to work, and other times it worked fine. I guess it has to do with surrounding code. When I threw an exception from a module's static constructor, main() was still entered. Should this be? If so, why? Remaining objects destructors aren't being called on program exit, unless I explicitly delete them.
Apr 19 2003
When I threw an exception from a module's static constructor, main() was still entered. Should this be? If so, why?Doesn't sound goodRemaining objects destructors aren't being called on program exit, unlessIexplicitly delete them.Does this include "auto" qualified ones?
Apr 19 2003
Actually, this isn't always the case. I realized it was because it was my WinMain() calling _moduleCtor(), so it does make sense.When I threw an exception from a module's static constructor, main() was still entered. Should this be? If so, why?Doesn't sound goodunlessRemaining objects destructors aren't being called on program exit,IThis, too, isn't always the case. It isn't calling the destructor when I have a global reference and assign a new object to it in another function, like main. "auto" works correctly.explicitly delete them.Does this include "auto" qualified ones?
Apr 19 2003
"Vathix" <Vathix kernel.net> wrote in message news:b7t6ed$23n$1 digitaldaemon.com...This, too, isn't always the case. It isn't calling the destructor when I have a global reference and assign a new object to it in another function, like main. "auto" works correctly.The global reference is the problem. The gc still regards it as being pinned by the global reference.
May 11 2003