mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
fix failing debug_assert
This commit is contained in:
parent
ddf2a09cbf
commit
b3d605cade
2 changed files with 6 additions and 2 deletions
|
@ -124,7 +124,11 @@ where
|
|||
// This is a type alias
|
||||
|
||||
// the symbol should already be added to the scope when this module is canonicalized
|
||||
debug_assert!(scope.contains_alias(symbol), "{:?}", symbol);
|
||||
debug_assert!(
|
||||
scope.contains_alias(symbol),
|
||||
"apparently, {:?} is not actually a type alias",
|
||||
symbol
|
||||
);
|
||||
|
||||
// but now we know this symbol by a different identifier, so we still need to add it to
|
||||
// the scope
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue