Replace HashMap with IndexMap in pattern binding resolve
#114454
Merged
HashMap with IndexMap in pattern binding resolve
#114454