Skip to content

Add explicit bindingΒ #355

@stefanoborini

Description

@stefanoborini

I thought I already filed this, but I cannot find it. Sorry if it's a reiterated request.

The problem we have with box is that the imported symbols are not explicitly bound. This angers linters, that see a symbol appear out of thin air and start complaining.

Example

box::use(mod/hello_world)

hello_world$hello('Ross')

This would trigger a linter problem because hello_world appears from nowhere.

I propose to support the additional syntax

hello_world <- box::use("mod/hello_world")

hello_world$hello('Ross')

This has the added benefit of allowing for easy renaming of the module in case of collision.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions