Skip to content

Add functionality to support setting a struct as another struct's field #86

@entropidelic

Description

@entropidelic

Inside a hint, it may be necessary to assign a struct inside another struct. Consider the example:

struct Foo {
    a: Bar
}

struct Bar {
    b: felt
}

A hint may want to assign field a from Foo like so:

ids.foo.a = ids.bar

Where foo and bar are instances of the structs Foo and Bar respectively.

This is not supported yet, and if necessary, support for this should be added.

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