mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
Make sure we don't report errors for illegal derived bodies, just their decls
This commit is contained in:
parent
3f09de7052
commit
bb8888b115
4 changed files with 60 additions and 6 deletions
|
@ -146,7 +146,7 @@ fn is_eq<'a>(env: &mut Env<'a>, at_opaque: &'a str) -> ast::Expr<'a> {
|
|||
)
|
||||
}
|
||||
|
||||
pub(crate) const DERIVED_REGION: Region = Region::zero();
|
||||
pub const DERIVED_REGION: Region = Region::zero();
|
||||
|
||||
pub(crate) fn synthesize_member_impl<'a>(
|
||||
env: &mut Env<'a>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue