Please do not post any internal, closed source snippets on this public issue tracker!
Description
Where possible, //fmt.pretty should output valid syntax. When pretty-printing dicts with string keys,
the function outputs bare strings, which means the output can't be copy-pasted back into arr.ai. It
can also lead to some weird behaviour (albeit under some pathological edge cases).
$ arrai info
Version : 65402d624e76a7af10a9bf7e4eb0e8e627526d01 (from v0.96.0)
Git commit : 65402d624e76a7af10a9bf7e4eb0e8e627526d01
Date : 2020-07-21T10:10:57Z
OS/arch : linux/amd64
Go version : go1.14.3 linux/amd64
Please do not post any internal, closed source snippets on this public issue tracker!
Description
Where possible,
//fmt.pretty
should output valid syntax. When pretty-printing dicts with string keys, the function outputs bare strings, which means the output can't be copy-pasted back into arr.ai. It can also lead to some weird behaviour (albeit under some pathological edge cases).Steps to Reproduce
Expected behavior
Output values as valid arr.ai syntax.
Actual behavior
Bare strings as keys.
Your Environment