mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-24 15:03:46 +00:00
First pass at canonicalizing and reporting syntactic abilities
This commit is contained in:
parent
d118e5afbc
commit
e672ce9ebd
7 changed files with 307 additions and 115 deletions
|
@ -298,6 +298,7 @@ impl Scope {
|
|||
let shadow_symbol = self.scopeless_symbol(ident, region);
|
||||
|
||||
if self.abilities_store.is_ability_member_name(original_symbol) {
|
||||
// TODO: remove register_specializing_symbol
|
||||
self.abilities_store
|
||||
.register_specializing_symbol(shadow_symbol, original_symbol);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue