immutable-object-formatter-extension icon indicating copy to clipboard operation
immutable-object-formatter-extension copied to clipboard

Symbols in maps causes formatter to break

Open samdesota opened this issue 5 years ago • 2 comments

Hey, thanks for this extension.

I get this error:

Custom Formatter Failed: Uncaught TypeError: Cannot convert a Symbol value to a number

When attempting to expand a immutable Map with symbols as keys.

samdesota avatar Mar 05 '19 08:03 samdesota

Hey Samuel, thanks for reporting! I don't have much time to work on this right now, but feel free to open a PR here and I'll update the extension.

mattzeunert avatar Mar 10 '19 15:03 mattzeunert

Awesome, going to work on this next few days. I did an initial attempt but couldn't reproduce when running the library myself, so will have to debug further.

samdesota avatar Mar 13 '19 16:03 samdesota