-
Notifications
You must be signed in to change notification settings - Fork 22
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
Unable to use as using Match: @match
(Match not defined
)
#68
Comments
using Match: @match
()using Match: @match
(Match not defined
)
Yeah, the This probably isn't fixable here, but the I've been planning to merge their package back into |
He's gotten around to it. We're working on it. |
julia> versioninfo()
Julia Version 1.6.6
Commit b8708f954a (2022-03-28 07:17 UTC)
Platform Info:
OS: macOS (x86_64-apple-darwin18.7.0)
CPU: Apple M2 Max
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-11.0.1 (ORCJIT, westmere)
Environment:
JULIA_SSL_CA_ROOTS_PATH =
(@v1.6) pkg> add Match
Installing known registries into `~/.julia`
Added registry `General` to `~/.julia/registries/General`
Resolving package versions...
Updating `~/.julia/environments/v1.6/Project.toml`
[7eb4fadd] + Match v2.0.0
Updating `~/.julia/environments/v1.6/Manifest.toml`
[1914dd2f] + MacroTools v0.5.10
[7eb4fadd] + Match v2.0.0
[bac558e1] + OrderedCollections v1.6.2
[2a0f44e3] + Base64
[d6f4376e] + Markdown
[9a3f8284] + Random
[9e88b42a] + Serialization
Precompiling project...
3 dependencies successfully precompiled in 2 seconds
(@v1.6) pkg> status
Status `~/.julia/environments/v1.6/Project.toml`
[7eb4fadd] Match v2.0.0
julia> using Match: @match
julia> @match (0xabcd & 0x1f) begin
0x0d => :foo
end
:foo |
I'm not sure why this happens, maybe it's something to do with macro hygiene?
The text was updated successfully, but these errors were encountered: