roc-lang / roc

A fast, friendly, functional language.
https://roc-lang.org
Universal Permissive License v1.0
4.46k stars 314 forks source link

fix: allow multiple newlines between signature and body #6843

Closed sekerez closed 4 months ago

sekerez commented 4 months ago

Closes https://github.com/roc-lang/roc/issues/6763.

Didn't add new tests since this seems covered already.

Doesn't fix the issue in the repl - working on a followup.

smores56 commented 4 months ago

Could you maybe add some testing? Either a syntax test, or even just changing an existing example to use the new syntax?

smores56 commented 4 months ago

Nevermind, I skimmed looking for new tests without noticing you updated existing ones, my bad.