On 10/31/13 8:57 AM, Lionello Lunesu wrote:
On 10/27/13, 7:10, Andrei Alexandrescu wrote:The second problem is that the logged file/line is always in std.allocator.d. It's probably not easy to get this working in all cases (especially regarding polymorphism).Uhm, that /is/ a problem.This is supported by using default values: 1:import std.stdio; 2:void w(int l = __LINE__){writeln(l);} 3:void main(){w();} outputs: 3 By design :)
The problem is only in CAllocator. Andrei
