digitalmars.D.bugs - [Issue 13629] New: Field postblit can't be generated for const field
- via Digitalmars-d-bugs (36/36) Oct 17 2014 https://issues.dlang.org/show_bug.cgi?id=13629
https://issues.dlang.org/show_bug.cgi?id=13629 Issue ID: 13629 Summary: Field postblit can't be generated for const field Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal Priority: P1 Component: DMD Assignee: nobody puremagic.com Reporter: wazar.leollone yahoo.com module test1; struct A { this(this) { } } struct B { A a; } struct C { const B b; } void main() { C c; } This code raises an error: Error: mutable method test1.B.__fieldPostBlit is not callable using a const object --
Oct 17 2014