Skip to content

Conversation

@stevenfontanella
Copy link
Member

@stevenfontanella stevenfontanella commented Jan 30, 2026

Followup to #8253 (comment). Allow us to declare loggableTypes and atomicMemoryOrders as const to prevent them from being mutated by mistake.

Base automatically changed from fuzzing to main January 30, 2026 18:46
@stevenfontanella stevenfontanella changed the title Use member initializer Use member initializer in fuzzer Jan 30, 2026
@stevenfontanella stevenfontanella marked this pull request as ready for review January 30, 2026 19:50
// removed during optimization
// - there's no point in logging anyref because it is opaque
// - don't bother logging tuples
loggableTypes(concat(
Copy link
Member

Choose a reason for hiding this comment

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

Another way to do this that doesn't put as much logic into the initializer list is to call out to static methods that return the initialized members.

Copy link
Member

Choose a reason for hiding this comment

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

Good idea, that sounds like it might read better.

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.

4 participants