mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 16:44:33 +00:00
Add solve test for aliasing ability
This commit is contained in:
parent
8694ea9d33
commit
8f335c3278
2 changed files with 23 additions and 1 deletions
|
@ -168,7 +168,10 @@ pub fn type_implementing_member(
|
|||
.collect::<Vec<_>>();
|
||||
ability_implementations_for_specialization.dedup();
|
||||
|
||||
debug_assert!(ability_implementations_for_specialization.len() == 1, "Multiple variables bound to an ability - this is ambiguous and should have been caught in canonicalization");
|
||||
debug_assert!(
|
||||
ability_implementations_for_specialization.len() == 1,
|
||||
"Multiple variables bound to an ability - this is ambiguous and should have been caught in canonicalization: {:?}",
|
||||
ability_implementations_for_specialization);
|
||||
|
||||
ability_implementations_for_specialization
|
||||
.pop()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue