Open enebin opened 1 year ago
Hey there, @enebin! Thanks for bringing this to light. I'd like to improve the way Cuckoo works with types altogether, so it helps knowing of this case I need to think about. 🙂
I admit that I completely forgot about this case, but it seems like a good addition to the project. If you're willing to contribute, I'd gladly merge it! 🙂
First, I'd like to say I've really appreciated your works. It's pure amazement. However, there're a few issues blocking me to do further tasks. I brought some infos about it.
Reproducing code is here:
It generates:
and
and throws
'some' types are only permitted in properties, subscripts, and functions
like the screenshot I attached below:Could you check it once?