August 01, 2010 [Issue 4560] New: D2 Language Docs: http://www.digitalmars.com/d/2.0/const3.html | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=4560 Summary: D2 Language Docs: http://www.digitalmars.com/d/2.0/const3.html Product: D Version: D2 Platform: Other OS/Version: All Status: NEW Severity: normal Priority: P2 Component: www.digitalmars.com AssignedTo: nobody@puremagic.com ReportedBy: andrej.mitrovich@gmail.com --- Comment #0 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2010-08-01 14:27:03 PDT --- The menu on the left with the list of language documentation pages is missing from this page (the one with the links to "Lexical Modules Declarations Types..." etc). "Immutable Member Functions" The example code has a missing closing brace and will give out the wrong errors (it will complain about initializing x outside of a constructor instead of complaining about immutability). Change the code to this to get the relevant errors: struct S { int x = 1; immutable void foo() { x = 4; // error, x is immutable this.x = 4; // error, x is immutable } } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
January 04, 2012 [Issue 4560] D2 Language Docs: http://www.digitalmars.com/d/2.0/const3.html | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrej Mitrovic | http://d.puremagic.com/issues/show_bug.cgi?id=4560 Andrej Mitrovic <andrej.mitrovich@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #1 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2012-01-04 10:15:32 PST --- Fixed ages ago. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation