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

Assertion failed when destructuring list from a let binding #4632

Closed
chenglou opened this issue Aug 20, 2020 · 2 comments · Fixed by #5288
Closed

Assertion failed when destructuring list from a let binding #4632

chenglou opened this issue Aug 20, 2020 · 2 comments · Fixed by #5288
Labels

Comments

@chenglou
Copy link
Member

chenglou commented Aug 20, 2020

let myList = [1, 2, 3]
let (head :: tail) = myList

Output:

Screen Shot 2020-08-20 at 4 36 05 AM

@bobzhang
Copy link
Member

The toplevel incomplete pattern match could cause such failure

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

Successfully merging a pull request may close this issue.

3 participants