https://d.puremagic.com/issues/show_bug.cgi?id=12118
--- Comment #3 from Kenji Hara <k.hara...@gmail.com> 2014-02-09 23:01:11 PST --- (In reply to comment #0) At least, defining immutable constructor in derived classes of Throwable should be disallowed. > class Dummy: Exception > { > int[] data; > @safe pure nothrow this(immutable int[] data) immutable > { > super("Dummy"); --> during immutable object construction, mutable super constructor should not be invoked. > this.data = data; > } > } -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------