oridb / mc

Myrddin Compiler
MIT License
388 stars 34 forks source link

Format bodyless union without trailing space #157

Closed snocl closed 6 years ago

snocl commented 6 years ago

Currently unions without bodies are formatted with a trailing space ([`None ] instead of [`None]). This PR changes that, and updates the tests to match.

I just recently got to try out the language, saw this behavior, and decided it was as good a place as any to get my feet wet—assuming the space wasn’t intended, at least! :)

oridb commented 6 years ago

Thanks :)