http://d.puremagic.com/issues/show_bug.cgi?id=6695
Summary: immutable not inherited by members Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Severity: major Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: luka8...@owave.net --- Comment #0 from luka8088 <luka8...@owave.net> 2011-09-19 14:31:54 PDT --- import std.stdio; immutable struct a { b b1; } struct b { void c () immutable { writeln(typeid(typeof(this))); // b instead of immutable(b) } } void main () { a a1; a1.b1.c(); } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------