TypeInfo instances are generated by the compiler. The types are simply defined in druntime. Same with ModuleInfo.
Sent from my iPhone On Sep 30, 2011, at 11:20 PM, Steve Teale <[email protected]> wrote: > Jonathan, > > I had a secondary question - under what circumstances is the OffsetTypeInfo > available? > > Since it's not part of the language, I guess whoever implemented the current > runtime just chose not to provide it, or it's a bug. I'll check out the code. > > I want to associate a struct with a database row in my database wrapper, and > that > information would be very useful. The struct.tupleof goes so far, but the > offset > information is not accessible unless you know what field to ask for it on. > > Steve
