[Issue 9501] Struct std.mmfile.MmFile?

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Feb 12 20:05:47 PST 2013


http://d.puremagic.com/issues/show_bug.cgi?id=9501



--- Comment #3 from bearophile_hugs at eml.cc 2013-02-12 20:05:43 PST ---
Mostly unrelated, about std.mmfile: I think in the std.mmfile module this line
(line 270) should offer a string message too when the file is not found:

errnoEnforce(false);


And I think switches like this one should become "final":

            switch (mode)
            {
            case Mode.read:
...
            default:
                assert(0);
            }

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list