Closed Feliix42 closed 6 years ago
I am not sure why that fails. Tuples should be supported in any place that accepts a type annotation, including return annotations.
Is your compiler on the newest version? You should check that your stack.yaml in ohuac mentions the clike-parser in a decently recent version. Otherwise you probably should pull ohuac again
I have tested your example as well now, and it parses correctly.
🤦♂️ All good, the most obvious step is most often times the one I forget about. Sorry for the interruption.
It's okay. Happens to everyone 😉
While working on ohua-dev/ohua-rust-runtime#7, I noticed that the following dummy
ohuac
file does not compileindicating that tuples are not supported by ohuac right now. As returning tuples is not that uncommon I would love seeing them added.