Skip to content

Conversation

@jakebailey
Copy link
Member

@jakebailey jakebailey commented Feb 19, 2025

This swaps out the unordered maps like map[string]any, map[string][]string for OrderedMaps. This should make paths handling no longer nondeterministic.

This required some changes to OrderedMap to handle nil.

Fixes #369


CompilerOptions::
{"lib":["lib.es5.d.ts","lib.es2015.symbol.wellknown.d.ts"],"module":1,"target":1}
{"module":1,"target":1,"lib":["lib.es5.d.ts","lib.es2015.symbol.wellknown.d.ts"]}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that this is now in flag order, so that shows that this is working at least.

Copy link
Member

@DanielRosenwasser DanielRosenwasser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems reasonable to me, but I want to check in about string keys.

@jakebailey jakebailey merged commit c7288d7 into main Feb 19, 2025
16 checks passed
@jakebailey jakebailey deleted the jabaile/ordered-maps branch February 19, 2025 23:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

paths does not consistently work

3 participants