https://kotlinlang.org logo
Title
m

mattmoore

07/09/2020, 11:00 PM
@shikasd I added the IDEA plugin portion to hook up the existing pattern matching code (well, part of it is pushed). I'm doing some refactors to make things a little more plug-n-play between the CLI and IDEA. Should have that pushed up fairly soonish.
s

shikasd

07/10/2020, 10:36 AM
That's great! Was actually curious on how we could make it work there, so happy to see you started tackling this. I will be looking into nested data classes later, to support
case(Person(Some.Class(_), Some.Class1(_)))
Also current frontend approach has a couple of problems with data flow (we don't smart cast) and lexical scope (we don't take into account values introduced in the body of the function), so might look into this as well