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

Struct expectation definition doesn't work with contract-out #67

Open
jackfirth opened this issue Sep 4, 2017 · 1 comment
Open

Struct expectation definition doesn't work with contract-out #67

jackfirth opened this issue Sep 4, 2017 · 1 comment
Labels

Comments

@jackfirth
Copy link
Owner

The contract-out form modifies the struct info and creates generated identifiers that don't match the format that define-struct-expectation is looking for, leading to "ambiguous keyword form" errors.

@jackfirth jackfirth added the bug label Sep 4, 2017
@jackfirth
Copy link
Owner Author

Potential solution: allow uses of define-struct-expectation to optionally specify which fields should have arguments, and allow a field to be either field-id or [keyword accessor-id]. The second form would serve as a workaround for structs provided with contract-out.

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

No branches or pull requests

1 participant