Skip to content

[Minor] Allow direct construction of aggregates#48

Open
darthscsi wants to merge 2 commits intomainfrom
dev/darthscsi/agg_literal
Open

[Minor] Allow direct construction of aggregates#48
darthscsi wants to merge 2 commits intomainfrom
dev/darthscsi/agg_literal

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
Collaborator

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