To reproduce open a project with this Main.enso:
import Standard.Visualization
type Plain
Empty
Chain h t
main =
e = Plain.Empty
j = Plain.Chain 42 e
t = Plain.Chain 13 j
Open ComponentBrowser with e selected, and pick to_json. The node returns error.
to_json is defined as extension method inside distribution/lib/Standard/Base/0.0.0-dev/src/Data/Json/Extensions.enso so we should add an import for this module, but we doesn't.