`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 摘要。