roc-lang / roc

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

fix: allow multiple newlines between signature and body #6843

Closed sekerez closed 5 days ago

sekerez commented 5 days 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 5 days 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 5 days ago

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