Skip to content

Commit

Permalink
Remove lambda list unpacking handling in let.
Browse files Browse the repository at this point in the history
  • Loading branch information
gilch authored and Kodiologist committed May 4, 2018
1 parent a2aeca2 commit 9d1304a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hy/contrib/walk.hy
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ Arguments without a header are under None.
(for [[header section] (-> self (.tail) first lambda-list .items)]
(if header (.append argslist header))
(cond [(in header [None '&rest '&kwargs])
(.update protected (-> section flatten set))
(.update protected section)
(.extend argslist section)]
[(in header '[&optional &kwonly])
(for [pair section]
Expand Down

0 comments on commit 9d1304a

Please sign in to comment.