Skip to content

Conversation

@tlively
Copy link
Member

@tlively tlively commented Jun 13, 2024

Add the feature and flags to enable and disable it. Require the new feature to
be enabled for shared heap types to validate. To make the test work, update the
validator to actually check features for global types.

@tlively tlively requested a review from kripken June 13, 2024 00:45
feats |= FeatureSet::Multivalue;
}
} else if (heapType->isContinuation()) {
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can something be both a signature and a continuation?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, but the original else-if up above was incorrect because it is possible for something to have a non-trivial rec group or have a declared supertype or be open and also be a signature. Rather than mix ifs and if-elses, I just made everything an if.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, that part made sense to me. But maybe it's still good to have an if-else chain after it, for the disjoint cases? That seems clearer to me (even if it might lead to some overlapping code).

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fair enough.

tlively added 2 commits June 14, 2024 08:28
Add the feature and flags to enable and disable it. Require the new feature to
be enabled for shared heap types to validate. To make the test work, update the
validator to actually check features for global types.
@tlively tlively enabled auto-merge (squash) June 14, 2024 15:55
@tlively tlively merged commit 0fa99fb into main Jun 14, 2024
@tlively tlively deleted the threads-feature branch June 14, 2024 19:07
@gkdn gkdn mentioned this pull request Aug 31, 2024
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.

3 participants