There's really no reason why anyone should use these special names in a variant.
I noticed this while reading the code: all other writes to OS are guarded by
this conditional, and the behavior with the check seems more correct, so
let's add the check.
Details
Details
- Reviewers
hans - Commits
- rG833393e021dc: [asm] Correctly handle special names in variants
Diff Detail
Diff Detail
Event Timeline
Comment Actions
I'm not familiar with this code, so apologies for the silly question, but how does this change make a difference for the new test case?
Comment Actions
Without the patch, the output of the new line was bar 1 x1 since the ${:uid} in the second variant was printed despite it not being the active variant.