mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-29 12:44:57 +01:00
This better follows the principle that types are simply constants of type `type`, and allows more uniform treatment of types as just another kind of constant from generics handling. Use a hash table to map from `TypeId` to information about the complete type. This makes basic operations on types a bit simpler, and operations that actually need to access the complete class information a bit more complex.