Forbid mutually dependent composite types #95

Open
opened 2025-04-11 09:20:55 +02:00 by belka · 0 comments
Owner

If two types depend directly on each other (not through a pointer or array), the size of the data type cannot be calculated. Such definitions should be illegal.

  X = record
    y: Y
  end;
  Y = record
    x: X
  end;
If two types depend directly on each other (not through a pointer or array), the size of the data type cannot be calculated. Such definitions should be illegal. ``` X = record y: Y end; Y = record x: X end; ```
belka added the
bootstrap
label 2025-04-11 09:20:55 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: belka/elna#95
No description provided.