Commit 80946c7
committed
feat: Add inline struct type to struct literals for field access
- Create Type::Struct with FieldDef for struct literals
- This allows field access to find field indices without TypeRegistry lookup
- Still pending: Fix InsertValue chaining in SSA translator for struct init1 parent 6c44950 commit 80946c7
1 file changed
Lines changed: 23 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1538 | 1538 | | |
1539 | 1539 | | |
1540 | 1540 | | |
1541 | | - | |
1542 | | - | |
| 1541 | + | |
| 1542 | + | |
| 1543 | + | |
| 1544 | + | |
| 1545 | + | |
| 1546 | + | |
| 1547 | + | |
| 1548 | + | |
| 1549 | + | |
| 1550 | + | |
| 1551 | + | |
| 1552 | + | |
| 1553 | + | |
| 1554 | + | |
| 1555 | + | |
| 1556 | + | |
| 1557 | + | |
| 1558 | + | |
| 1559 | + | |
| 1560 | + | |
| 1561 | + | |
| 1562 | + | |
| 1563 | + | |
1543 | 1564 | | |
1544 | 1565 | | |
1545 | 1566 | | |
| |||
0 commit comments