clio-lang / clio

Clio is a functional, parallel, distributed programming language.
https://clio-lang.org
Apache License 2.0
936 stars 30 forks source link

Fix function parsing #168

Closed pouya-eghbali closed 4 years ago

pouya-eghbali commented 4 years ago

Fixes a bug in getArity function

Description

Apparently acorn returns different body results depending on how a function is defined.

Changes proposed in this pull request

ToDo