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

set codeinfo.isva/nargs for julia v1.12 #93

Merged
merged 2 commits into from
Nov 5, 2024

Conversation

chengchingwen
Copy link
Member

fix #92

Copy link
Member

@mcabbott mcabbott left a comment

Choose a reason for hiding this comment

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

This solves the problem for me on 1.12, thanks!

But it seems to cause test failures on 1.10... approved assuming these can be fixed

inferred: Error During Test at /home/runner/work/Functors.jl/Functors.jl/test/cache.jl:1
  Got exception outside of a @test
  UndefVarError: `CodeInfo` not defined
  Stacktrace:
    [1] __cacheget_generator__(world::UInt64, source::LineNumberNode, self::Type, cache::Type, x::Type, args::Tuple{DataType, DataType})
      @ Functors ~/work/Functors.jl/Functors.jl/src/cache.jl:26
    [2] CachedWalk
      @ ~/work/Functors.jl/Functors.jl/src/walks.jl:175 [inlined]

@chengchingwen
Copy link
Member Author

@mcabbott The 1.10 failure is because I forgot CodeInfo is not imported. The second commit fixes it.

@CarloLucibello CarloLucibello merged commit 8bb69eb into FluxML:master Nov 5, 2024
5 of 6 checks passed
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.

Version 0.5 gives errors on strings, on Julia 1.12
3 participants