digitalmars.D - Need help locating AA bug
- H. S. Teoh (9/9) Feb 27 2012 I'm investigating issue 7512, and narrowed down the problem to a bug
- David Nadlinger (7/11) Feb 27 2012 If I'm not mistaken (straight from my memory, didn't look it up
- H. S. Teoh (8/17) Feb 27 2012 [...]
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
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
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:[...] 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[…] 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.
Feb 27 2012