fix another type alias issue with mini cycle

This commit is contained in:
Laytan Laats
2025-05-26 19:48:28 +02:00
parent 229c734820
commit 478c923e2c
4 changed files with 32 additions and 2 deletions
+24
View File
@@ -0,0 +1,24 @@
// Tests another variation of, this should compile #5097 https://github.com/odin-lang/Odin/issues/5097
package test_issues
Face :: ^FaceRec
GlyphSlot :: ^GlyphSlotRec
Size :: ^SizeRec
SizeRec :: struct {
face: Face,
}
GlyphSlotRec :: struct {
face: Face,
}
FaceRec :: struct {
glyph: GlyphSlot,
size: Size,
}
main :: proc() {
face: Face
_ = face
}