mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-24 06:55:15 +00:00
Use Opaque over Alias
This commit is contained in:
parent
73cd5b8c7c
commit
c859ce0b23
3 changed files with 90 additions and 14 deletions
|
@ -437,7 +437,7 @@ pub struct HasClause<'a> {
|
|||
#[derive(Debug, Copy, Clone, PartialEq)]
|
||||
pub enum HasImpls<'a> {
|
||||
// `{ eq: myEq }`
|
||||
HasImpls(Collection<'a, Loc<AssignedField<'a, TypeAnnotation<'a>>>>),
|
||||
HasImpls(Collection<'a, Loc<AssignedField<'a, Expr<'a>>>>),
|
||||
|
||||
// We preserve this for the formatter; canonicalization ignores it.
|
||||
SpaceBefore(&'a HasImpls<'a>, &'a [CommentOrNewline<'a>]),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue