Nico
05/23/2020, 5:45 PMwhenCondition
is a pattern match. Is there any way to write some low level unit tests where I can play with instantiated PsiElements in order to inspect them and test my predicates?
On second thought, I probably should ask this kind of stuff in #arrow-metaraulraja
05/24/2020, 3:22 PMraulraja
05/24/2020, 3:23 PMmattmoore
05/24/2020, 3:29 PMmatch
keyword as this will make it easier to determine whether pattern matching should apply. This should be more performant than what I was originally attempting with a more complex check on the left hand side, searching for patterns in use.
I'm starting to tinker with the error suppression stuff today, should have something in place soon around that. I'm also hoping to start experimenting with the type proofs stuff to get more intuitively familiar with it. Hopefully will have some code ready to add to the branch today/tomorrow.
I'm still not familiar with the ide plugin stuff, but if I have some time I'll start tinkering with that. I'm looking at the existing stuff in meta to get a sense for how that would work.raulraja
05/24/2020, 3:40 PMraulraja
05/24/2020, 3:41 PMraulraja
05/24/2020, 3:42 PMwhen
we are solving expression destructuring:
val (a, Street(b)) = termraulraja
05/24/2020, 3:43 PMraulraja
05/24/2020, 3:43 PMraulraja
05/24/2020, 3:44 PMraulraja
05/24/2020, 3:45 PMmattmoore
05/24/2020, 3:51 PM_