JuliaDebug / JuliaDebug/LoweredCodeUtils.jl
`typeof(ref)` shown on stdout
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 19
- Forks
- 14
- Avg merge
- 17m
- Merged PRs (30d)
- 3
Description
I just got the following inscrutable message on stdout while using Revise, and tracked it to LoweredCodeUtils:
ref = :(_1)
typeof(ref) = Core.SlotNumber
Presumably this was emitted by the line here:
https://github.com/JuliaDebug/LoweredCodeUtils.jl/blob/ff8998f6151bce37bbf6a82ce72622e692fd8df3/src/signatures.jl#L412
Strangely this doesn't seem to have triggered the assert on the next line (or if it did, the error was swallowed somewhere, because I didn't see an AssertionError).
Contributor guide
No contributing guide indexed for this repository
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 at src/signatures.jl line 412, identified in the report, and reproduce the output while using Revise. Determine why the ref and typeof(ref) diagnostics reach stdout and whether the following assertion is involved. Done means the inscrutable output no longer appears unexpectedly and the relevant assertion behavior is covered or explained.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100