anoma / juvix

A language for intent-centric and declarative decentralised applications
https://docs.juvix.org
GNU General Public License v3.0
457 stars 53 forks source link

Add the last `;` to any list-like structure #3043

Closed janmasrovira closed 2 weeks ago

janmasrovira commented 2 months ago

At the moment the last ; is optional and the formatter removes it. We've received some feedback that it would be more practical if the formatter always inserted the last ; if it was missing. This includes

  1. Let blocks.
  2. Fields.
  3. List literals.
  4. Statements in a module.
  5. Using/hiding lists in open statements.

It is possible that I missed something in the above list.

lukaszcz commented 2 months ago