Skip to content

Allow SecExpr's within default field values #31

Description

@miberss

Suggestion Description

struct A:
    b: struct = B struct instance:
        n: 1

struct B:
    n: Number = 0

This is not the best use-case for this but you could use Lambdas from skLambda, to make something like abstract functions on a struct. Using structs as singletons I guess?

Screenshots

No response

Other

No response

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