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

[Minor] Allow direct construction of aggregates #48

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

darthscsi
Copy link
Collaborator

This allows expression of aggregate literals. Aggregate construction is an expression, so it is not usable on the lhs of a connect.

This allows expression of aggregate literals.  Aggregate construction is an expression, so it is not usable on the lhs of a connect.
@uenoku
Copy link
Contributor

uenoku commented Oct 12, 2022

Is it necessary for types to be passive types?

@darthscsi
Copy link
Collaborator Author

I don't think it is necessary to have passive types. An aggregate construction should work like a wire with all fields connected. Obviously for a literal aggregate, you would need a passive type for flow to work (a constant can't be a sink).

@darthscsi darthscsi changed the title Allow direct construction of aggregates [Minor] Allow direct construction of aggregates Oct 24, 2022
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