Skip to content

Conversation

@cirras
Copy link
Collaborator

@cirras cirras commented Nov 6, 2025

This PR fixes a bug during symbol table construction.
A type alias declaration nested within the type it aliases would trigger infinite recursion / stack overflow.

Fixes #420.

@cirras cirras requested a review from fourls November 6, 2025 00:38
Copy link
Collaborator

@fourls fourls left a comment

Choose a reason for hiding this comment

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

Looks good! As discussed, there's no need to recurse into alias definitions for the purpose of determining if a file has inline routines.

@fourls fourls merged commit 63c549a into master Nov 6, 2025
4 checks passed
@fourls fourls deleted the alias-stack-overflow branch November 6, 2025 00:56
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.

Crash during analyze

3 participants