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
on 1.11.2:
julia> using JuliaSyntaxHighlighting julia> JuliaSyntaxHighlighting.highlight("sum(1:8)") ERROR: ArgumentError: Wrong number of arguments to named tuple constructor. Stacktrace: [1] @NamedTuple{region::UnitRange{Int64}, label::Symbol, value}(args::Tuple{UnitRange{Int64}, Pair{Symbol, Any}}) @ Base ./namedtuple.jl:117 [2] convert(::Type{@NamedTuple{region::UnitRange{…}, label::Symbol, value}}, t::Tuple{UnitRange{Int64}, Pair{Symbol, Any}}) @ Base ./namedtuple.jl:182 [3] setindex!(A::Memory{@NamedTuple{…}}, x::Tuple{UnitRange{…}, Pair{…}}, i1::Int64) @ Base ./genericmemory.jl:243 [4] unsafe_copyto!(dest::Memory{@NamedTuple{…}}, doffs::Int64, src::Memory{Tuple{…}}, soffs::Int64, n::Int64) @ Base ./genericmemory.jl:153 [5] unsafe_copyto! @ ./genericmemory.jl:133 [inlined] [6] _copyto_impl! @ ./array.jl:308 [inlined] [7] copyto! @ ./array.jl:294 [inlined] [8] copyto! @ ./array.jl:319 [inlined] [9] copyto_axcheck! @ ./abstractarray.jl:1167 [inlined] [10] Array @ ./array.jl:626 [inlined] [11] AnnotatedString @ ./strings/annotated.jl:104 [inlined] [12] highlight(str::String, ast::JuliaSyntax.GreenNode{JuliaSyntax.SyntaxHead}) @ JuliaSyntaxHighlighting ~/.julia/packages/JuliaSyntaxHighlighting/Vm3KU/src/JuliaSyntaxHighlighting.jl:397 [13] highlight(str::String) @ JuliaSyntaxHighlighting ~/.julia/packages/JuliaSyntaxHighlighting/Vm3KU/src/JuliaSyntaxHighlighting.jl:389 [14] top-level scope @ REPL[5]:1 Some type information was truncated. Use `show(err)` to see complete types.
The text was updated successfully, but these errors were encountered:
I think the registered version might need to be yanked? It looks like it was updated to 1.12 but julia is still set to 1.11 @tecosaur
julia
1.11
JuliaSyntaxHighlighting.jl/Project.toml
Line 11 in 19bd57b
If I install this package on 1.11 I end up with an incompatible one
Sorry, something went wrong.
No branches or pull requests
on 1.11.2:
The text was updated successfully, but these errors were encountered: