Open AndrewSouthpaw opened 7 years ago
This shouldn't really work. When you destructure a union, types get flattened.
Hmm... I guess that makes sense. Thanks for pointing that out. I imagine it would be hard/impossible to keep the union with destructuring?
@vkurchatkin Why is that?
As an example:
I'm running v0.46. Curiously, the try flow REPL doesn't exhibit an error, I'm only getting it locally.
Any ideas?