-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix for a crash caused by choice alternative name being the same as c…
…hoice name (#1243) Fixes #1248 Changed resolve names logic to add choice name to name resolution after choice's alternatives are added.
- Loading branch information
1 parent
8c28000
commit e06d67a
Showing
2 changed files
with
29 additions
and
2 deletions.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
explorer/fuzzing/fuzzer_corpus/dedba2ac81916ee306624a2ac3db2a3c7a4ea5ad.textproto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
compilation_unit { | ||
declarations { | ||
choice { | ||
alternatives { | ||
signature { | ||
primitive_operator { | ||
arguments { | ||
intrinsic { | ||
argument { | ||
fields { | ||
primitive_operator { | ||
arguments { | ||
identifier { | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters