Skip to content

UndefVarError with Julia v1.12 #120

@inkydragon

Description

@inkydragon

Add this Pkg and run tests:

Error During Test at /home/pkgeval/.julia/packages/FixedPointDecimals/E2cLd/test/parse_tests.jl:131
  Got exception outside of a @test
  UndefVarError: `access_threaded` not defined in `Parsers`
  Suggestion: check for spelling errors or missing imports.
  Stacktrace:
    [1] getproperty
      @ ./Base_compiler.jl:47 [inlined]
    [2] _divpow10!(x::BigInt, code::Int16, pow::Int64, ::RoundingMode{:Nearest})
      @ FixedPointDecimals ~/.julia/packages/FixedPointDecimals/E2cLd/src/parse.jl:77

https://s3.amazonaws.com/julialang-reports/nanosoldier/pkgeval/by_hash/6ab22e4_vs_2d89891/FixedPointDecimals.primary.log

Maybe those code need to be updated:

@inbounds r = Parsers.access_threaded(() -> (@static VERSION > v"1.5" ? BigInt(; nbits=256) : BigInt()), _BIGINT_Rs) # we must not yield here!
@inbounds y = Parsers.access_threaded(() -> (@static VERSION > v"1.5" ? BigInt(; nbits=256) : BigInt()), _BIGINT_10s) # we must not yield here!

https://github.com/JuliaData/Parsers.jl/blob/6352c4bbce6f9df8cea268a39a3c43e1ee4944e7/src/Parsers.jl#L497-L509

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions