mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
Comment
This commit is contained in:
parent
5171e3964d
commit
462f443956
1 changed files with 2 additions and 1 deletions
|
@ -1224,7 +1224,8 @@ fn check_ability_specialization(
|
|||
.get_var_by_symbol(&root_symbol)
|
||||
.expect("Ability should be registered in env by now!");
|
||||
|
||||
// Check if they unify - if they don't, that's a type error!
|
||||
// Check if they unify - if they don't, then the claimed specialization isn't really one,
|
||||
// and that's a type error!
|
||||
let snapshot = subs.snapshot();
|
||||
let unified = unify(subs, symbol_loc_var.value, root_signature_var, Mode::EQ);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue