mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
Remove stale comments
This commit is contained in:
parent
6413000579
commit
7ff180c1a5
2 changed files with 7 additions and 29 deletions
|
@ -102,10 +102,6 @@ impl DerivedModule {
|
|||
|
||||
let ident_id = if cfg!(debug_assertions) || cfg!(feature = "debug-derived-symbols") {
|
||||
let debug_name = key.debug_name();
|
||||
// debug_assert!(
|
||||
// self.derived_ident_ids.get_id(&debug_name).is_none(),
|
||||
// "duplicate debug name for different derive key"
|
||||
// );
|
||||
let ident_id = self.derived_ident_ids.get_or_insert(&debug_name);
|
||||
|
||||
// This is expensive, but yields much better symbols when debugging.
|
||||
|
@ -114,7 +110,6 @@ impl DerivedModule {
|
|||
|
||||
ident_id
|
||||
} else {
|
||||
// TODO this is WRONG when we're re-instantiating the derived impl
|
||||
self.derived_ident_ids.gen_unique()
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue