-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Shared: Make sure getMadRepresentation is unique
#19777
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -686,6 +686,11 @@ module Make< | |||||||||||||||||||||||||||
| derivedFluentFlowPush(_, _, _, head, tail, _) | ||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||
| pragma[nomagic] | ||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||
| pragma[nomagic] | |
| pragma[nomagic] | |
| /** | |
| * Generates a unique string representation of the given `SummaryComponent`. | |
| * | |
| * This representation is used in MaD (Model and Dataflow) models to uniquely | |
| * identify components. A trailing `/` is appended to ensure that the resulting | |
| * string is distinct from other potential string formats and avoids collisions | |
| * when concatenated with other representations. | |
| * | |
| * @param c The `SummaryComponent` to generate a representation for. | |
| * @return A unique string representation of the component. | |
| */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have to admit I would really appreciate a description of what's going on here. What would a collision look like?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍