Issue 12749 - Constructor-local function allows multiple mutation of immutable member

https://issues.dlang.org/show_bug.cgi?id=12749