getsentry / pdb

A parser for Microsoft PDB (Program Database) debugging information
https://docs.rs/pdb/
Apache License 2.0
368 stars 68 forks source link

Add no-type in the primitive types #56

Closed calixteman closed 4 years ago

calixteman commented 4 years ago

The rust compiler seems to emit some NoType for "()" (empty tuple) which isn't probably a good idea. Anyway, I think it's better to have it in the primitive types and let people decide how to deal with.

willglynn commented 4 years ago

Seconded. “No type” seems best modeled as a type, whereas “no indirection” seemed best modeled as the absence of indirection.

Thanks!