{"action":"closed","issue":{"url":"https://api.github.com/repos/google/jsonnet/issues/211","repository_url":"https://api.github.com/repos/google/jsonnet","labels_url":"https://api.github.com/repos/google/jsonnet/issues/211/labels{/name}","comments_url":"https://api.github.com/repos/google/jsonnet/issues/211/comments","events_url":"https://api.github.com/repos/google/jsonnet/issues/211/events","html_url":"https://github.com/google/jsonnet/issues/211","id":162805936,"number":211,"title":"jsonnet fmt unquotes local in object keys","user":{"login":"huggsboson","id":3486668,"avatar_url":"https://avatars.githubusercontent.com/u/3486668?v=3","gravatar_id":"","url":"https://api.github.com/users/huggsboson","html_url":"https://github.com/huggsboson","followers_url":"https://api.github.com/users/huggsboson/followers","following_url":"https://api.github.com/users/huggsboson/following{/other_user}","gists_url":"https://api.github.com/users/huggsboson/gists{/gist_id}","starred_url":"https://api.github.com/users/huggsboson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huggsboson/subscriptions","organizations_url":"https://api.github.com/users/huggsboson/orgs","repos_url":"https://api.github.com/users/huggsboson/repos","events_url":"https://api.github.com/users/huggsboson/events{/privacy}","received_events_url":"https://api.github.com/users/huggsboson/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/google/jsonnet/labels/duplicate","name":"duplicate","color":"cccccc"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-06-28T22:55:39Z","updated_at":"2016-06-30T02:34:53Z","closed_at":"2016-06-30T02:34:53Z","body":"jsonnet fmt is attempting to unquote an object key when it shouldn't.\r\n\r\nHere is our example:\r\n```\r\nlocal clusterEnvDefaultFlags = {\r\n    \"local-build\": {\r\n        \"local\": {\r\n            cluster: \"dev\",\r\n            group: \"init\",\r\n        },\r\n        dev: {\r\n            cluster: \"dev\",\r\n            group: \"init\",\r\n        },\r\n    },\r\n    ...\r\n}\r\n```\r\n\r\nIt is removing the quotes around \"local\" leading to STATIC ERROR: .../app.jsonnet:8:14: Expected token IDENTIFIER but got \":\"\r\n\r\n."}}
{"actor":{"display_login":"sparkprime"}}