Skip to content

Importing Extension methods does not work. #14145

@farmaazon

Description

@farmaazon

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    Status

    ❓New

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions