|
Archives
D Programming
digitalmars.Ddigitalmars.D.bugs digitalmars.D.dtl digitalmars.D.ide digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger D.gnu D C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript electronics |
digitalmars.D.bugs - [Issue 3748] New: inout does not work properly
http://d.puremagic.com/issues/show_bug.cgi?id=3748 Summary: inout does not work properly Product: D Version: 2.039 Platform: All OS/Version: All Status: NEW Severity: major Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: schveiguy yahoo.com --- Comment #0 from Steven Schveighoffer <schveiguy yahoo.com> 2010-01-28 05:06:44 PST --- Created an attachment (id=558) file to test whether inout is properly implemented inout as defined by DIP2 is not implemented properly on dmd 2.039. Attached is a testing program that should be used to determine if inout is properly implemented. I tried to include every subtle detail that I could on inout, but I'm not sure that I got them all. If the compiler passes this test, inout should be ready for most uses. Since half of the definition of inout is what *doesn't* compile, I have included multiple errors in the file. Because of the nature of compiler errors, each error can be individually enabled or disabled using version statements, a la error1, error2, etc. When no error statements are enabled, the program should compile correctly. There is no need to run the program, since all asserts are static. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- Jan 28 2010
|