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.

贡献者指南