Skip to content

Conversation

@stof
Copy link
Member

@stof stof commented Dec 9, 2021

Closes #296

In #296 (comment), I though that the map keys were converted to string and so this issue could not be solved until 2.0. However, when working on implementing the conversion layer between the legacy value format (the one of 1.x) and the new value format, I figured out that I was wrong on that point. Maps are storing the original keys. The conversion of keys to string was done when coercing them to list.
So this actually makes it easy to fix that bug in 1.x by removing that code.

@stof stof changed the base branch from master to 1.x December 9, 2021 20:30
@stof stof force-pushed the fix_map_iteration_type branch from acb76b3 to 502d214 Compare December 9, 2021 20:32
@stof stof merged commit b6cdc30 into scssphp:1.x Dec 9, 2021
@stof stof deleted the fix_map_iteration_type branch December 9, 2021 21:42
@stof stof added this to the 1.9.0 milestone Sep 2, 2022
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.

type-of() returns wrong type for map keys

1 participant