Skip to content

Recursive struct mapping not supported #2

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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