Skip to content

Issue with calling own class from static method via instantiated object #12

@Carlshede

Description

@Carlshede

Instantiating a class in a static method and calling instance methods via that object from another module than it was instantiated in results in a "reference is out of search scope" error message.

outofsearchscope

secondclass2

Method calls to other classes, and method calls within the same block, are fine:
secondclass

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions