1
1
mirror of https://github.com/github/semantic.git synced 2024-12-28 09:21:35 +03:00

Quote the key

This commit is contained in:
Timothy Clem 2018-08-10 13:01:13 -07:00
parent aacc1463cd
commit 9ba005bbcc

View File

@ -194,7 +194,7 @@ addKVPair = fromPlan "addKVPair" $ do
remark Refactored (injectTerm ann (Literal.Hash [newItem]))
where
newItem = termIn gen (inject (Literal.KeyValue k v))
k = termIn gen (inject (Literal.TextElement "added"))
k = termIn gen (inject (Literal.TextElement "\"added\""))
v = termIn gen (inject (Literal.Array []))
gen = Generated :. rtail ann
ann = termAnnotation origTerm