http://bugzilla.gdcproject.org/show_bug.cgi?id=49
--- Comment #2 from Iain Buclaw <ibuc...@gdcproject.org> 2013-04-09 11:25:48 UTC --- (In reply to comment #0) > test.d: > > template Tuple(Stuff ...) { > alias Stuff Tuple; > } > struct S { > int i; > alias Tuple!i t; > void a() { > auto x = t; > } > void b() { > auto x = t; > } > } Tracked down to the following: void a() { // OK: 'this' has decl context of 'a' (int) x = tuple(this.i); } void b() { // WRONG: 'this' has decl context of 'a' (int) x = tuple(this.i); } -- Configure bugmail: http://bugzilla.gdcproject.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.