Skip to content

Recursive struct mapping not supported #2

@WizzardMaker

Description

@WizzardMaker

Structs that directly or indirectly define themself in the field tree generate a stack overflow in the parsing routine.

type A struct {
  BTest B
}

type B struct {
  ATest A
}

The parser should keep track of already visited types in the depth traversal and quit when encountering a loop

A -> B -> A |

This should be part of the Inspect Context

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