nevalang / neva

🌊 Dataflow programming language with static types and implicit parallelism. Compiles to native code and Go
https://nevalang.org
MIT License
91 stars 7 forks source link

[Syntax]: Import do not support ',' and that's not obvious #587

Closed emil14 closed 4 months ago

emil14 commented 5 months ago

I've spend some time debugging (because of bad compiler errors ofc but still) what's wrong and turns out it was import { io, strconv }

First of all this form looks fine to me. Second - it was natural to think that it's supported. Maybe because of nodes syntax

I think we should add it as well as trailing commas support

emil14 commented 4 months ago

Fixed in https://github.com/nevalang/neva/pull/593