JuliaDebug / JuliaDebug/Cthulhu.jl
Colours don't work in Julia 1.12
Open
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 709
- Forks
- 46
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 2
Description
If you do e.g.
using Cthulhu
function times(v::NTuple{M,Int}, w::NTuple{M,Int}) where {M}
index = 0
while v[end-index] == w[1+index]
index += 1
index == M && break
end
return ntuple(i -> i * index, Val(2M))
end
@descend times((1,2),(2,3))
then with Julia 1.11 index has a bright red Core.Box annotation, as it should, but in Julia 1.12 everything appears blue.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running the provided @descend example with Julia 1.11 and 1.12 and compare the color annotations. Trace the code responsible for displaying Core.Box annotations; done means index is shown in bright red under Julia 1.12 as it is under Julia 1.11.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100