DanielXMoore / Civet

A TypeScript superset that favors more types and less typing
https://civet.dev
MIT License
1.33k stars 28 forks source link

Trailing `or` on newline after callback function in implicit application parses as nested implicit function call instead of method body #1281

Closed STRd6 closed 2 weeks ago

STRd6 commented 2 weeks ago
x.filter ([a, b]) ->
  a or 
  b
x.filter(function([a, b]) {})(
  a || 
  b)
edemaine commented 2 weeks ago

The issue is actually the space after the or. Hopefully an easy fix... investigating now.