Thread overview
[Issue 4547] New: D2 Language Docs: http://www.digitalmars.com/d/2.0/property.html
Aug 01, 2010
Andrej Mitrovic
May 20, 2011
Andrej Mitrovic
May 20, 2011
Andrej Mitrovic
Jan 04, 2012
Andrej Mitrovic
August 01, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4547

           Summary: D2 Language Docs:
                    http://www.digitalmars.com/d/2.0/property.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 09:02:50 PDT ---
".init Property"

In the last line in example code, Foo.b.init is 0, not 7 (unlike what the
comment states).



".stringof Property"

Example contains two lines refering to "test.Foo",
but "test" isn't declared anywhere.

Also, the output is different from the one in the comments, here's the new one based on DMD 2.047:

writefln((1+2).stringof);       // "1 + 2"
writefln(Foo.stringof);         // "Foo"
writefln(int.stringof);         // "int"
writefln((int*[5][]).stringof); // "int*[5u][]"
writefln(Enum.RED.stringof);    // "cast(Enum)0
writefln((5).stringof);         // "5"

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 20, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=4547


Andrej Mitrovic <andrej.mitrovich@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


--- Comment #1 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2011-05-19 20:26:20 PDT ---
Fixed in local branch, will issue pull request later.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 20, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=4547


Andrej Mitrovic <andrej.mitrovich@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |


--- Comment #2 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2011-05-19 21:14:23 PDT ---
Reopening since I haven't merged anything yet. Sorry for the notification spam!

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
January 04, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=4547


Andrej Mitrovic <andrej.mitrovich@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED


--- Comment #3 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2012-01-04 08:47:28 PST ---
Fixed ages ago, forgot to close.

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