JuliaDebug/CodeTracking.jl

"definition" cannot read function defined within Jupyter notebook

開放

#51 建立於 2020年1月29日

 (6 則留言) (0 個反應) (0 位負責人)Julia (11 個分叉)github user discovery
enhancementhelp wanted

倉庫指標

星標
 (150 顆星)
PR 合併指標
 (平均合併 47分鐘) (30 天內合併 3 個 PR)

描述

When calling definition in a Jupyter notebook:

f(x,y) = x^2 + y^2
definition(String, @which(f(Int,Int)))

I get the following error: SystemError: opening file "In[52]": No such file or directory

Seems to just not handled reading from the notebook's In because it works when reading from functions defined purely in the REPL.

貢獻者指南