posit-dev / air

21 stars 0 forks source link

Fix dropping of named argument name with grouped inline functions #42

Closed DavisVaughan closed 1 week ago

DavisVaughan commented 1 week ago
# Input
fn(
  one,
  two = {

  }
)

fn(
  one,
  two = function() {

  }
)

Where did two go in the second example?

# Output
fn(one, two = {
})

fn(one, function() {
})