Open tamaroning opened 1 month ago
I think this is something that needs fixed during type checking there are a few variations of this issue now
We actually don't have any handling for recursive types because its complicated for both typechecking and code generation. I am holding off fixing it until i am more confident after we fix more bugs in generics and method resolution first.
Summary
might be related to https://github.com/Rust-GCC/gccrs/issues/1178 and https://github.com/Rust-GCC/gccrs/issues/2757 But the name resolver is the cause
Reproducer
I tried this code:
Does the code make use of any (1.49) nightly feature ?
Godbolt link
https://godbolt.org/z/dP6vb8Yf3
Actual behavior
The current behavior is...
Expected behavior
I expected to see...
GCC Version
master