special hash and dedup for SolvedType

This commit is contained in:
Folkert 2020-11-06 23:12:47 +01:00
parent 7faab5d857
commit 7a8e9fe343
4 changed files with 129 additions and 8 deletions

View file

@ -15,7 +15,7 @@ pub struct Symbol(u64);
// Set it to false if you want to see the raw ModuleId and IdentId ints,
// but please set it back to true before checking in the result!
#[cfg(debug_assertions)]
const PRETTY_PRINT_DEBUG_SYMBOLS: bool = false;
const PRETTY_PRINT_DEBUG_SYMBOLS: bool = true;
/// In Debug builds only, Symbol has a name() method that lets
/// you look up its name in a global intern table. This table is