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

Fix hypothesis for spec for std.objectHas #89

Merged
merged 2 commits into from
Jan 22, 2016

Conversation

oconnorr
Copy link
Contributor

No description provided.

@sparkprime
Copy link
Collaborator

I think it should be b = (o(f) = (\false, _))

We also need to add rules for the versions of the reflection calls that ignore the hidden status at some point.

@oconnorr
Copy link
Contributor Author

According to the spec the o function has type String ⇀ (Hidden × Core) and Hidden = { :, ::, ::: }. In particular false isn't a member of the type Hidden, so (o(f) = (\false, _)) doesn't even make sense.

@sparkprime
Copy link
Collaborator

You're right, it should be o(f) = (h, _) where h != ::

sparkprime added a commit that referenced this pull request Jan 22, 2016
Fix hypothesis for spec for std.objectHas
@sparkprime sparkprime merged commit a6a397d into google:master Jan 22, 2016
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

Successfully merging this pull request may close these issues.

2 participants