Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix tyArray with 3 kids breaking concept #24444

Draft
wants to merge 4 commits into
base: devel
Choose a base branch
from

Conversation

Graveflo
Copy link
Contributor

@Graveflo Graveflo commented Nov 16, 2024

Some types have a tyNone when they have no right hand side of their type definition (like magics array and seq). In some places of the code this appears to have been used like a sentinel value. It seems better to handle this in a different way and not construct invalid objects of these types.

@Graveflo Graveflo changed the title Fix tyArray if length 3 Fix tyArray of length 3 Nov 17, 2024
@Graveflo
Copy link
Contributor Author

thoughts:

  • the name findUnspecifiedGenericsOrNil sucks
  • I was unable to get rid of tySeq with 2 kids, but that's probably better off in a different PR anyway

@Graveflo Graveflo marked this pull request as ready for review November 18, 2024 16:50
@Graveflo Graveflo changed the title Fix tyArray of length 3 Fix tyArray with 3 kids breaking concept Nov 18, 2024
@Graveflo Graveflo marked this pull request as draft November 23, 2024 05:09
@Graveflo
Copy link
Contributor Author

I suspect there is an error in this. Will look into it later

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.

1 participant