Skip to content

Cells that depend on views or mutables cannot be cleanly imported. #151

@mbostock

Description

@mbostock

Given document A:

mutable foo = "foo"
mutable_foo_reference = mutable foo

And document B:

import {mutable_foo_reference} from "bc24298cd70a4c0a"
mutable_foo_reference

We expect the imported mutable_foo_reference in document B to equal "foo". However, we instead see a RuntimeError: mutable_foo_reference could not be resolved.

This can be avoided by explicitly importing either mutable foo or foo, but this additional import should not be necessary.

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