You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered this issue here, and I'm really struggling to come up with any good work-arounds. A union with the boolean set to true on one, and false on the other seems to just override one another, and the dispatch doesn't even work for checking if an integer is %none (or %unknown?), or an actual number. My generator would greatly benefit from being able to use more types in a dispatch. Though for it to work, I think string literals would have to no longer work in the dispatch (so that it doesn't confuse 'true' with true). But perhaps strings could still be supported if included in quotation marks (e.g. "true" and true are seperate).
Anyway obviously I have no idea how tricky this feature would be to implement, but I wanted to suggest it here anyway in the hopes it can be a thing in the future.
The text was updated successfully, but these errors were encountered:
I encountered this issue here, and I'm really struggling to come up with any good work-arounds. A union with the boolean set to
true
on one, andfalse
on the other seems to just override one another, and the dispatch doesn't even work for checking if an integer is %none (or %unknown?), or an actual number. My generator would greatly benefit from being able to use more types in a dispatch. Though for it to work, I think string literals would have to no longer work in the dispatch (so that it doesn't confuse 'true' withtrue
). But perhaps strings could still be supported if included in quotation marks (e.g. "true" andtrue
are seperate).Anyway obviously I have no idea how tricky this feature would be to implement, but I wanted to suggest it here anyway in the hopes it can be a thing in the future.
The text was updated successfully, but these errors were encountered: