Skip to content

Feat: Tuple element access (indexing) not implemented #248

@yuvimittal

Description

@yuvimittal

Summary

Tuples are lowered to LLVM literal structs, but there is no visitor for index access (e.g. t[0]). Accessing a struct field in LLVM IR requires extractvalue for constants or getelementptr + load for allocas. Without this, tuples are write-once, read-never constructs.

Additional Information

Code of Conduct

  • I agree to follow the Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions