`typeof(ref)` shown on stdout

未关闭
#69 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
38/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
julia
领域
tooling

调研方向

从报告中指出的 src/signatures.jl 第 412 行开始,并使用 Revise 重现输出。确定诊断信息 ref 和 typeof(ref) 为什么会到达 stdout,以及后续的 assertion 是否与此有关。当难以理解的输出不再意外出现,并且相关 assertion 的行为已被覆盖或解释时,即视为完成。

由索引模型根据 Issue 内容生成。

描述

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).

主要语言
Julia
星标
19
派生
16
平均合并
2 天 21 小时
30 天内合并 PR
2

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

JuliaDebug/LoweredCodeUtils.jl 的其他 Issue

查看 JuliaDebug/LoweredCodeUtils.jl 的全部 Issue

相似的 Issue

更多 Julia Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。