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

When array exprs solve their types, the element type info is not propagated to the terms #1146

Open
ice1000 opened this issue Nov 18, 2024 · 3 comments

Comments

@ice1000
Copy link
Member

ice1000 commented Nov 18, 2024

If we need to solve this, we need MetaLitTerm to carry additional data. Maybe we need MetaListTerm

@HoshinoTented
Copy link
Contributor

MetaLitTerm also acts like a MetaListTerm cause we have a shape for List.

@ice1000
Copy link
Member Author

ice1000 commented Nov 18, 2024

MetaLitTerm also acts like a MetaListTerm cause we have a shape for List.

If both the list type and the list element types are metas, and we solved the list type to be List Nat, it will not solve the element type to be Nat.

@ice1000
Copy link
Member Author

ice1000 commented Nov 18, 2024

MetaLitTerm also acts like a MetaListTerm cause we have a shape for List.

Actually I didn't understand what you meant. Can you say more?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants