On 11/06/2010 02:25 PM, IainS wrote:
Would it be sufficient (although another pass through the table :( )
to check that at least one type will be emitted before trying?
No, pubtypes is supposed to be a summary of what's in the comp unit.
If we say that type X is in there and it isn't, then the consumer
of the pubtypes info is going to get confused. To the point where
it might have been better not to emit the data at all, which ought
to force the consumer to scan all the comp units, which is the only
way it can currently get a correct answer.