Skip to content

Fix LIR dumper segfault and resolve generic struct size conflict#137

Merged
spatulari merged 5 commits into
rux-lang:devfrom
hrutavmodha:dev
Jun 14, 2026
Merged

Fix LIR dumper segfault and resolve generic struct size conflict#137
spatulari merged 5 commits into
rux-lang:devfrom
hrutavmodha:dev

Conversation

@hrutavmodha

Copy link
Copy Markdown

This PR introduces the 2 mini fixes I did which were encountered while adding support for the vectors in Rux:

  1. Fixed LIR dumper segfault
  2. Added generic struct size calculation logic in sizeof.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Welcome to Rux, and thank you for your first contribution.

We appreciate your effort in helping improve the language and its ecosystem.

Please ensure all relevant tests pass and that any necessary documentation has been updated.

A maintainer will review your pull request as soon as possible.

@pascalecu

Copy link
Copy Markdown
Member

I thought the conflicts were because of formatting, you should resolve them (maybe rebase dev first?) @hrutavmodha

@hrutavmodha

Copy link
Copy Markdown
Author

OK I am taking look into it sooner and resolving @pascalecu.

# Conflicts:
#	Source/Hir.cpp
#	Source/Lir.cpp
#	Source/Sema.cpp
@hrutavmodha

Copy link
Copy Markdown
Author

@pascalecu I resolved the conflicts

@spatulari spatulari merged commit aa3681c into rux-lang:dev Jun 14, 2026
9 checks passed
@hrutavmodha hrutavmodha deleted the dev branch June 15, 2026 04:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants