Skip to content

Fix anonymous functions in Julia 1.6#94

Merged
CarloLucibello merged 2 commits into
JuliaIO:masterfrom
darsnack:darsnack/julia1.6
Apr 2, 2021
Merged

Fix anonymous functions in Julia 1.6#94
CarloLucibello merged 2 commits into
JuliaIO:masterfrom
darsnack:darsnack/julia1.6

Conversation

@darsnack
Copy link
Copy Markdown
Contributor

@darsnack darsnack commented Apr 2, 2021

This fixes #80 by updating Method to reflect changes to the structure in Julia 1.6. There is already a test case where this fails, and the PR addresses that. Under the current test cases, this is the only Julia 1.6 issue that needed to be addressed.

Comment thread src/anonymous.jl

function newstruct!(meth::Method, mod, name, file, line, sig,
syms, ambig, nargs, isva, nospecialize, ast)
syms, nargs, isva, nospecialize, ast)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To confirm, has ambig been removed?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah remove here

@darsnack
Copy link
Copy Markdown
Contributor Author

darsnack commented Apr 2, 2021

Failing check on nightly was present before this PR, and it is a result of JuliaLang/julia#38136. I'll look into it in another PR. It isn't present on Julia 1.6.

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.

Serializing anonymous method fails on julia 1.6-beta1

3 participants