digitalmars.D.bugs - [Issue 13079] New: Need 'this' to access member - function literal
- via Digitalmars-d-bugs (24/24) Jul 08 2014 https://issues.dlang.org/show_bug.cgi?id=13079
https://issues.dlang.org/show_bug.cgi?id=13079 Issue ID: 13079 Summary: Need 'this' to access member - function literal Product: D Version: D2 Hardware: x86_64 OS: Windows Status: NEW Severity: major Priority: P1 Component: DMD Assignee: nobody puremagic.com Reporter: czdanol gmail.com Hey, this code can't be compiled, although it should: class Test { mixin( function string() { return ""; }() ); } void main() { } The error is: Error: function ...Test() need 'this' to access member __funcliteral2 --
Jul 08 2014