On Wednesday, 28 May 2014 at 17:11:09 UTC, Ary Borenszweig wrote:
But there is a 'this' in that place (it's not a static function).Should I file this as a bug?
I can't find exact place in spec but AFAIK default arguments in D are evaluated in context of call scope, same as in C. Could have detected the problem earlier with better error message though.
