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
Expected result: a clear error message that explains what is wrong
Actual result: compiler crashes
If one of the two members is a pointer (e.g. foo: Foo*), this works as expected. You must use a pointer somewhere, just like in C, but if you don't, there should be a clear error message.
The text was updated successfully, but these errors were encountered:
Akuli
changed the title
segfault with cyclic-referencing classes
compiler crash with cyclic-referencing classes
Mar 4, 2023
Expected result: a clear error message that explains what is wrong
Actual result: compiler crashes
If one of the two members is a pointer (e.g.
foo: Foo*
), this works as expected. You must use a pointer somewhere, just like in C, but if you don't, there should be a clear error message.The text was updated successfully, but these errors were encountered: