Skip to content

Conversation

@magicant
Copy link
Owner

No description provided.

We're changing the `body` field to contain an
`Rc<dyn FunctionBodyObject>`, which does not implement `PartialEq`.
To compare two `Function` objects for equality, we will compare
the `body` fields using pointer equality with `Rc::ptr_eq`.
@magicant magicant changed the title Invert dependency from yash_env::function to yash_syntax::syntax Introduce dependency injection to yash_env::function::Function::body Nov 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants