Skip to content

Conversation

@aviatesk
Copy link
Member

@aviatesk aviatesk commented Dec 5, 2023

I am working on implementing a support for callsite @assume_effects annotation, and this update is part of the preparation for that goal. Along this, I've modified the API from pushmeta!(::Expr, ::Symbol, args...) to pushmeta!(::Expr, ::Union{Symbol,Expr}). This change isn't breaking as long as the args are empty, which is the case for most use cases (actually there is only one usage of pushmeta! with non-empty args within Julia base). I've verified on JuliaHub, and there don't appear to be any packages using pushmeta! with non-empty args, so there shouldn't be any (big) issues.

@aviatesk aviatesk requested a review from Keno December 5, 2023 04:31
@aviatesk aviatesk force-pushed the avi/assume_effects-refactoring branch from e1410dd to cc0638b Compare December 5, 2023 04:45
I am working on implementing a support for callsite `@assume_effects`
annotation, and this update is part of the preparation for that goal.
Along this, I've modified the API from `pushmeta!(::Expr, ::Symbol, args...)`
to `pushmeta!(::Expr, ::Union{Symbol,Expr})`. This change isn't breaking
as long as the `args` are empty, which is the case for most use cases
(actually there is only one usage of `pushmeta!` with non-empty `args`
within Julia base). I've verified on JuliaHub, and there don't appear to
be any packages using `pushmeta!` with non-empty `args`, so there
shouldn't be any (big) issues.
@aviatesk aviatesk force-pushed the avi/assume_effects-refactoring branch from cc0638b to f73df4f Compare December 6, 2023 02:39
@aviatesk aviatesk merged commit f96585b into master Dec 6, 2023
@aviatesk aviatesk deleted the avi/assume_effects-refactoring branch December 6, 2023 05:03
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