voldemort stack traces (and bloat)
Steven Schveighoffer via Digitalmars-d
digitalmars-d at puremagic.com
Sun Feb 7 17:48:32 PST 2016
On 2/7/16 10:42 AM, Iakh wrote:
> On Sunday, 7 February 2016 at 05:18:39 UTC, Steven Schveighoffer wrote:
>> 4 testexpansion 0x000000010fb5dbec pure @safe
>> void
>> testexpansion.s!(testexpansion.s!(testexpansion.s!(testexpansion.s!(testexpansion.s!
>>
>
> Why "bad" foo is void?
Huh? foo returns void in both instances.
> Yeah would by nice to auto-repacle with
> testexpansion.S!(...)(...).Result.foo
> or even with ...Result.foo
A possible fix for the stack printing is to use the template parameter
placeholders:
testexpansion.s!(T = testexpansion.s!...)(T).Result.foo
But this doesn't fix the object-file bloat.
-Steve
More information about the Digitalmars-d
mailing list