Skip to content
This repository was archived by the owner on May 31, 2020. It is now read-only.
This repository was archived by the owner on May 31, 2020. It is now read-only.

Difficulties implementing classmethod #701

@lielfr

Description

@lielfr

So, the classmethod builtin is actually a decorator which is meant to allow functions access to the class definition. In order to implement this in Batavia, we need to actually get the parent of the function, which cannot be done in "pure" javascript because a function can have multiple parents.
Does anyone have suggestions on how it should be implemented?

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