-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Closed as not planned
Labels
breakingImplementing this issue could cause existing code to no longer compile or have different behavior.Implementing this issue could cause existing code to no longer compile or have different behavior.proposalThis issue suggests modifications. If it also has the "accepted" label then it is planned.This issue suggests modifications. If it also has the "accepted" label then it is planned.
Milestone
Description
Originally specified at #489 (comment).
This proposal supplants:
Summary:
- No "expect" builtin or similar
- Each branch gets a default weight of 10
- Error branches (weight error branches against errors #84) get a default weight of 1
- Branch weight can be overridden with
@branchWeightbuiltin. - Branch weights are of type
u32
This generalizes better to switch expressions.
This allows source code to be annotated with PGO data.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
breakingImplementing this issue could cause existing code to no longer compile or have different behavior.Implementing this issue could cause existing code to no longer compile or have different behavior.proposalThis issue suggests modifications. If it also has the "accepted" label then it is planned.This issue suggests modifications. If it also has the "accepted" label then it is planned.