Skip to content

"code_string" doesn't work in Documenter.jl and JupyterNotebook environment #91

@bennibolm

Description

@bennibolm

When calling

f(x) = x
code_string(f, (Float64,))

in a Documenter.jl setup, I get the error MethodError: no method matching getindex(::Nothing, ::Int64).

The same happens when I call code_string in JupyterNotebook:
grafik

In the REPL, it works perfectly. Is that a known bug? It seems to be similar to #51.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions