http://d.puremagic.com/issues/show_bug.cgi?id=10723
Maxim Fomin <ma...@maxim-fomin.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|accepts-invalid, pull | --- Comment #7 from Maxim Fomin <ma...@maxim-fomin.ru> 2013-08-15 12:49:25 PDT --- (In reply to comment #6) > (In reply to comment #4) > > (In reply to comment #3) > > > > > Interesting is that if _name member or in char[] stdioOpenmode = "rb" are > > > removed, the program runs fine. > > > > This is actually a funny bug - in char[] stdioOpenmode = "rb" shouldn't > > compile > > in first place, this is accept-invalid. This erroneous default parameter as > > a > > result causes further problems with dehtables as offsets are wrong. > > > > https://github.com/D-Programming-Language/phobos/pull/1478 > > Why is this invalid? I thought 'in char[]' just means const(char[]), which > immutable(char)[] should be implicitly convertible to. Yes. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------