-
-
Notifications
You must be signed in to change notification settings - Fork 43
Closed
Description
Parser failed with some (admittedly weird) input. Installed Julia with curl -fsSL https://install.julialang.org | sh.
julia> macro var"@hi"() :(println("hi")) end
@@hi (macro with 1 method)
julia> @var"@hi"
hi
julia> @(var"@hi")
┌ Error: JuliaSyntax parser failed — falling back to flisp!
│ This is not your fault. Please submit a bug report to https://github.com/JuliaLang/JuliaSyntax.jl/issues
│ exception =
│ TypeError: in typeassert, expected String, got a value of type Nothing
│ [...]
│ offset = 0
│ code = "@(var\"@hi\")"
└ @ Base.JuliaSyntax /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-honeycrisp-XG3Q6T6R70.0/build/default-honeycrisp-XG3Q6T6R70-0/julialang/julia-release-1-dot-10/base/JuliaSyntax/src/hooks.jl:260
hi
julia> versioninfo()
Julia Version 1.10.4
Commit 48d4fd48430 (2024-06-04 10:41 UTC)
Build Info:
Official https://julialang.org/ release
Platform Info:
OS: macOS (arm64-apple-darwin22.4.0)
CPU: 10 × Apple M1 Max
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-15.0.7 (ORCJIT, apple-m1)
Threads: 10 default, 0 interactive, 5 GC (on 8 virtual cores)
Environment:
JULIA_NUM_THREADS = 10Metadata
Metadata
Assignees
Labels
No labels