[Issue 515] Spec incorrect in where .offsetof can be applied

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jul 2 01:52:08 PDT 2008


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





------- Comment #4 from wbaxter at gmail.com  2008-07-02 03:52 -------
Just a ping that the spec (http://www.digitalmars.com/d/1.0/class.html) is
still not in line with the compiler (DMD 1.031).
You can see it first mentioned regarding DMD 0.131 back in 2005 here:
http://www.digitalmars.com/d/archives/digitalmars/D/bugs/4988.html

Just to recap:
In the compiler
  Foo.init.x.offsetof works.  
  Foo.x.offsetof does not.
Spec says the opposite is true.


-- 



More information about the Digitalmars-d-bugs mailing list