mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
Add AbilityMember can variant for resolving ability specializations
This commit is contained in:
parent
ebbcd57022
commit
edee222763
4 changed files with 18 additions and 1 deletions
|
@ -336,6 +336,11 @@ pub fn constrain_expr(
|
|||
// make lookup constraint to lookup this symbol's type in the environment
|
||||
constraints.lookup(*symbol, expected, region)
|
||||
}
|
||||
AbilityMember(symbol, _specialization) => {
|
||||
// make lookup constraint to lookup this symbol's type in the environment
|
||||
constraints.lookup(*symbol, expected, region)
|
||||
// TODO: consider trying to solve `_specialization` here.
|
||||
}
|
||||
Closure(ClosureData {
|
||||
function_type: fn_var,
|
||||
closure_type: closure_var,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue