feat(selfhost): full tuple type support with .0/.1 field access
Parse (T, U) types and (a, b) expressions, lower to Tuple_* C structs, and emit common tuple typedefs so buxc2 matches bootstrap tuple codegen.
This commit is contained in:
@@ -52,6 +52,8 @@ struct TypeExpr {
|
||||
funcParams: *TypeExprList, // for tekFunc
|
||||
funcRet: *TypeExpr, // for tekFunc
|
||||
funcParamCount: int, // for tekFunc
|
||||
tupleElems: *TypeExprList, // for tekTuple
|
||||
tupleCount: int, // for tekTuple
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user