Replies: 2 comments 8 replies
-
Can you reduced this down to a more contained example of the problem? I took a quick look at your link but there's a lot there and it's not immediately clear to me what you're asking. |
Beta Was this translation helpful? Give feedback.
8 replies
-
My solution for now, can't make the PyType work. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to implement a match case for a Type that is parsed at Runtime, i just need to match to the right case when the match is executed, I achieved a state where I can desestructure the arguments, but I can't make the right case be matched.
My code:
https://github.com/vkobinski/benda-main/blob/1405203f697ba3232160943cf4b36719134e432b/crates/benda/src/types/book.rs#L164
My problem:
All the types i create at runtime are of the type builtins.Ctr, i just need to change this type for the match case.
Beta Was this translation helpful? Give feedback.
All reactions