https://d.puremagic.com/issues/show_bug.cgi?id=7758
Kenji Hara <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME --- Comment #2 from Kenji Hara <[email protected]> 2013-11-22 00:13:38 PST --- With 2.064, the code: string test(alias member)() { return ""; } struct S { int i; mixin(test!i()); } Prints: test.d(1): Error: function test.S.test!(i).test need 'this' to access member test test.d(5): called from here: test() --- This exactly is same behavior with: struct S { string foo() { return ""; } mixin(foo()); // call member function 'foo' without valid 'this' } Prints: test.d(3): Error: function test.S.foo need 'this' to access member foo test.d(4): called from here: foo() --- Therefore the original issue is already fixed. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
