I was playing around with #379, and I got this error message:
Property `Expr` not found on object of type Type (Q::Statement)
In other words, that one is missing in our (very temporary) property lookup list in Runtime.pm6.
A couple of thoughts:
Write tests to make sure all the Q types are reachable from code.
Take the chance to DRY up the lookup table a little bit. Put it in a hash or something. It's a little bit embarrassing that it's just chained if/else if statements right now.
Even the hash we should be able to automatically generate, instead of writing it out verbatim. Traverse the hierarchy and build it.
None of this is hard, it just needs doing. :smile:
I was playing around with #379, and I got this error message:
In other words, that one is missing in our (very temporary) property lookup list in
Runtime.pm6
.A couple of thoughts:
Q
types are reachable from code.if
/else if
statements right now.None of this is hard, it just needs doing. :smile: