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

Support property inference on record types #395

Closed
rsmckinney opened this issue Nov 16, 2022 · 1 comment
Closed

Support property inference on record types #395

rsmckinney opened this issue Nov 16, 2022 · 1 comment

Comments

@rsmckinney
Copy link
Member

Support property inference on record types.

Since record components are essentially read-only properties (vals), they should be inferred as as such. This is also a consistency issue where if a project is using manifold-props, accessing record components as method calls is otherwise not in sync property use everywhere else. See slack discussion.

rsmckinney added a commit that referenced this issue Nov 16, 2022
- infer properties from record types (record components are read-only properties)
rsmckinney added a commit to manifold-systems/manifold-ij that referenced this issue Nov 18, 2022
- Handle expression in foreach stmt where the expression type structurally implements Iterator and a class extension exists that makes Iterable structural

manifold-systems/manifold#395
- Support property inference on record types

Bump version
@rsmckinney
Copy link
Member Author

Supported since release 2022.1.24.

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

No branches or pull requests

1 participant