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

Empty hash table matching bug #1434

Closed
sk1e opened this issue Aug 25, 2016 · 1 comment
Closed

Empty hash table matching bug #1434

sk1e opened this issue Aug 25, 2016 · 1 comment

Comments

@sk1e
Copy link

sk1e commented Aug 25, 2016

Hi!

Welcome to Racket v6.6.
> (match #hash((1 . 2))
  [(hash-table) 'bug?]
  [(hash-table (key value) ...) 'expected])
'bug?
> 
@Paul-C-Anagnostopoulos
Copy link
Contributor

Paul-C-Anagnostopoulos commented Oct 29, 2018

This bug is fixed in v7.1. I also tested similar patterns and all seemed fine.

There is a test case for this in test/match/examples.rkt.

@samth samth closed this as completed Oct 29, 2018
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

3 participants