[Issue 1348] offTi property of TypeInfo return empty array.
https://issues.dlang.org/show_bug.cgi?id=1348 RazvanN changed: What|Removed |Added Status|NEW |RESOLVED CC||razvan.nitu1...@gmail.com Resolution|--- |INVALID --- Comment #9 from RazvanN --- Introspection is now done at compile time. Closing this as invalid. --
[Issue 1348] offTi property of TypeInfo return empty array.
http://d.puremagic.com/issues/show_bug.cgi?id=1348 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added CC||bugzi...@digitalmars.com Severity|normal |enhancement --- Comment #8 from Walter Bright bugzi...@digitalmars.com 2012-01-21 19:53:10 PST --- It's not implemented yet, but is there as a placeholder. The shape of how introspection is best done is as yet undetermined. Hence I'll mark it as an enhancement request. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 1348] offTi property of TypeInfo return empty array.
http://d.puremagic.com/issues/show_bug.cgi?id=1348 Rob Jacques sandf...@jhu.edu changed: What|Removed |Added Keywords|wrong-code | --- Comment #4 from Rob Jacques sandf...@jhu.edu 2010-12-27 09:27:09 PST --- Gide, wrong-code bugs are bugs where the assembly generated by DMD is incorrect. Not generating the offset type info isn't a wrong-code bug. Generating a bad offset typeinfo array would be. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 1348] offTi property of TypeInfo return empty array.
http://d.puremagic.com/issues/show_bug.cgi?id=1348 Gide Nwawudu g...@nwawudu.com changed: What|Removed |Added CC||g...@nwawudu.com --- Comment #5 from Gide Nwawudu g...@nwawudu.com 2010-12-27 10:56:02 PST --- I thought anything the compiles and does not work as defined by the spec is wrong-code, this would include outputting zeros instead of an offset. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 1348] offTi property of TypeInfo return empty array.
http://d.puremagic.com/issues/show_bug.cgi?id=1348 nfx...@gmail.com changed: What|Removed |Added CC||nfx...@gmail.com --- Comment #6 from nfx...@gmail.com 2010-12-27 13:08:04 PST --- (In reply to comment #3) I ran into this in attempting to do runtime reflection for serialization, etc. without forcing the use if template mixins, etc. You better start using a real programming language then, such as Scala, Vala or Go. Walter most likely disabled generation of this because it took too much space. The direction D2 is going is towards compile time reflection, and cutting down runtime reflection. (Even though compile time reflection will lead to much worse code bloat in the end, but the D designers don't know how to make sense.) This bug should probably be closed as INVALID, but leaving it open is a good way to put a little stress in Walter Co. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 1348] offTi property of TypeInfo return empty array.
http://d.puremagic.com/issues/show_bug.cgi?id=1348 Rob Jacques sandf...@jhu.edu changed: What|Removed |Added Keywords||spec --- Comment #7 from Rob Jacques sandf...@jhu.edu 2010-12-27 13:46:23 PST --- nfxjfg, as noted in this bug report, this isn't a regression: D has never had any form of runtime-reflection so Walter can't have disabled it, etc. To the best of my knowledge, the shape of D's runtime reflection is still pending. Gide, you're technically right, but I feel there's a big difference in severity between, not implemented yet and silently generating incorrect code. I have added the spec keyword, because it's probably a good idea to remove the Offset type info placeholders until D's runtime-reflection strategy is defined. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 1348] offTi property of TypeInfo return empty array.
http://d.puremagic.com/issues/show_bug.cgi?id=1348 Rob Jacques sandf...@jhu.edu changed: What|Removed |Added CC||sandf...@jhu.edu --- Comment #3 from Rob Jacques sandf...@jhu.edu 2010-02-20 21:03:11 PST --- This appears to never have been implemented: From toobj.c in the DMD 2.040 source tree, at both 462-464 and 909-911: // offTi[] dtdword(dt, 0); dtdword(dt, 0);// null for now, fix later I ran into this in attempting to do runtime reflection for serialization, etc. without forcing the use if template mixins, etc. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---