Skip to content

Recursively typed struct fields must be optional #23

@boynton

Description

@boynton

Otherwise an infinite structure will be described.

i.e. this is invalid:

type Node Struct {
  Node left;
  String value;
  Node right;
}

but this is valid:

type Node Struct {
  Node left (optional);
  String value;
  Node right (optional);
}

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions