www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Need help locating AA bug

reply "H. S. Teoh" <hsteoh quickfur.ath.cx> writes:
I'm investigating issue 7512, and narrowed down the problem to a bug
somewhere in the code that handles AA literals. So I'm looking at
druntime's aaA.d. But I don't understand what's the difference between
_d_assocarrayliteralT() and _d_assocarrayliteralTX()? When are they
called, and in which context?

Thanks.


T

-- 
What doesn't kill me makes me stranger.
Feb 27 2012
parent reply "David Nadlinger" <code klickverbot.at> writes:
On Monday, 27 February 2012 at 22:39:47 UTC, H. S. Teoh wrote:
 […] But I don't understand what's the difference between
 _d_assocarrayliteralT() and _d_assocarrayliteralTX()? When are 
 they
 called, and in which context?
If I'm not mistaken (straight from my memory, didn't look it up again), _d_assocarrayliteralT() is no longer in use, it was replaced by _d_assocarrayliteralTX() some while ago, which doesn't require C-style variadics. Hope this helps, David
Feb 27 2012
parent "H. S. Teoh" <hsteoh quickfur.ath.cx> writes:
On Tue, Feb 28, 2012 at 12:24:08AM +0100, David Nadlinger wrote:
 On Monday, 27 February 2012 at 22:39:47 UTC, H. S. Teoh wrote:
[…] But I don't understand what's the difference between
_d_assocarrayliteralT() and _d_assocarrayliteralTX()? When are they
called, and in which context?
If I'm not mistaken (straight from my memory, didn't look it up again), _d_assocarrayliteralT() is no longer in use, it was replaced by _d_assocarrayliteralTX() some while ago, which doesn't require C-style variadics.
[...] Hmm. I'm trying to trace down what's causing the bug, but apparently _d_assocarrayliteralTX is never called?? Did the compiler recently change in the way it creates AA literals? T -- Never trust an operating system you don't have source for! -- Martin Schulze
Feb 27 2012