Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix @hyperopt for upcoming base changes #64

Merged
merged 2 commits into from
Aug 13, 2021

Conversation

simeonschaub
Copy link
Contributor

@baggepinnen
Copy link
Owner

Cool, thanks for this PR! I can't say I completely understood what the problem was, Hyperopt somehow used the return expression from a block inside the macro that no longer will behave the same after the upstream change?

src/Hyperopt.jl Outdated Show resolved Hide resolved
@baggepinnen baggepinnen merged commit eecb455 into baggepinnen:master Aug 13, 2021
@simeonschaub simeonschaub deleted the sds/41857_fix branch August 13, 2021 10:22
@simeonschaub
Copy link
Contributor Author

Hyperopt somehow used the return expression from a block inside the macro that no longer will behave the same after the upstream change?

Yes, exactly. There may now be a LineNumberNode at the end of the body, which returns nothing when evaluated.

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