mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-24 12:32:29 +00:00
Get first inspect for non-Inspect-implementing opaques specialized
This commit is contained in:
parent
c87e3e7413
commit
5c805ce80f
6 changed files with 75 additions and 44 deletions
|
@ -718,6 +718,7 @@ fn canonicalize_opaque<'a>(
|
|||
|
||||
let ability_region = ability.region;
|
||||
|
||||
// Op := {} has [Eq]
|
||||
let (ability, members) = match ability.value {
|
||||
ast::TypeAnnotation::Apply(module_name, ident, []) => {
|
||||
match make_apply_symbol(env, region, scope, module_name, ident) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue