Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible destructuring bug #1755

Closed
ambrad opened this issue Mar 11, 2019 · 1 comment
Closed

Possible destructuring bug #1755

ambrad opened this issue Mar 11, 2019 · 1 comment

Comments

@ambrad
Copy link

ambrad commented Mar 11, 2019

Previously, defn argument destructuring of this sort worked:
(defn foo [[a b]] (print a b))
In 0.16, one gets:

HySyntaxError: parse error for special form 'fn*': should have reached end of form: HyList([
  HySymbol(u'a'),
  HySymbol(u'b')]): HyList([
  HyList([
    HySymbol(u'a'),
    HySymbol(u'b')])])

This is with
hy 0.16.0 using CPython(default) 2.7.7 on Linux

@Kodiologist
Copy link
Member

Not a bug; see #1590.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants