summaryrefslogtreecommitdiff
path: root/test/lit/help
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2024-04-16 01:08:13 -0700
committerGitHub <noreply@github.com>2024-04-16 01:08:13 -0700
commite4608772910d4d879b0a4783bacba3b4890b828c (patch)
tree932ebc6aeb457df8c8ade4a0f715404242968478 /test/lit/help
parent75993de411117e79c57a09d1276bd1b2773c94df (diff)
downloadbinaryen-e4608772910d4d879b0a4783bacba3b4890b828c.tar.gz
binaryen-e4608772910d4d879b0a4783bacba3b4890b828c.tar.bz2
binaryen-e4608772910d4d879b0a4783bacba3b4890b828c.zip
Do not repeat types names in text output (#6499)
For types that do not have explicit names, we generate index-based names in the printer. However, we did not previously ensure that the generated types were not already used as explicit names, so it was possible to print the same name for multiple types, which is not valid. Fix the problem by skipping indices that are already used as type names. Fixes #6492.
Diffstat (limited to 'test/lit/help')
0 files changed, 0 insertions, 0 deletions