You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This seems to be a failure of the compiler to recognise when a struct/enum would be infinite in size, interestingly commenting out one of the Nodes (either left or right in Branch) allows the compiler to identify an infinite recursion and give the appropriate error message.
The text was updated successfully, but these errors were encountered:
The following code causes the compiler to loop indefinitely (until the system runs out of memory):
This seems to be a failure of the compiler to recognise when a struct/enum would be infinite in size, interestingly commenting out one of the
Node
s (either left or right in Branch) allows the compiler to identify an infinite recursion and give the appropriate error message.The text was updated successfully, but these errors were encountered: