We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I decided to check this package out. Is it broken by the require(::Symbol) change?
require(::Symbol)
A.jl:
module A using Requires export foo, bar foo(x) = "hello" @require B begin println("defining bar") bar(y::B.Btype) = "there" end end
B.jl:
module B export Btype type Btype val::Int end end
Test:
julia> using Requires, A julia> foo(7) "hello" julia> using B julia> bar(7) ERROR: UndefVarError: bar not defined
I'm guessing the require(::Symbol) thing is hard to get around?
The text was updated successfully, but these errors were encountered:
Hmm, looks that way. I think the require(::Symbol) change must've gone over my head, any chance I could get a reference for that?
Should be workaroundable either way.
Sorry, something went wrong.
fc900c3
That's an immensely clever hack. 😄
require(::Symbol) comes from JuliaLang/julia#12040 and JuliaLang/julia#8745.
It'll take a bit more of a challenge to make me deprecate this package :) Thanks for the link!
No branches or pull requests
I decided to check this package out. Is it broken by the
require(::Symbol)
change?A.jl:
B.jl:
Test:
I'm guessing the
require(::Symbol)
thing is hard to get around?The text was updated successfully, but these errors were encountered: