{"action":"created","issue":{"url":"https://api.github.com/repos/chimpler/pyhocon/issues/10","labels_url":"https://api.github.com/repos/chimpler/pyhocon/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/chimpler/pyhocon/issues/10/comments","events_url":"https://api.github.com/repos/chimpler/pyhocon/issues/10/events","html_url":"https://github.com/chimpler/pyhocon/issues/10","id":67705322,"number":10,"title":"Objects merging doesn't work","user":{"login":"eric239","id":8461125,"avatar_url":"https://avatars.githubusercontent.com/u/8461125?v=3","gravatar_id":"","url":"https://api.github.com/users/eric239","html_url":"https://github.com/eric239","followers_url":"https://api.github.com/users/eric239/followers","following_url":"https://api.github.com/users/eric239/following{/other_user}","gists_url":"https://api.github.com/users/eric239/gists{/gist_id}","starred_url":"https://api.github.com/users/eric239/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eric239/subscriptions","organizations_url":"https://api.github.com/users/eric239/orgs","repos_url":"https://api.github.com/users/eric239/repos","events_url":"https://api.github.com/users/eric239/events{/privacy}","received_events_url":"https://api.github.com/users/eric239/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-10T23:46:01Z","updated_at":"2015-04-11T01:02:13Z","closed_at":null,"body":"Using simple example from HOCON readme:\r\n```\r\ndata-center-generic = { cluster-size = 6 }\r\ndata-center-east = ${data-center-generic} { name = \"east\" }\r\n```\r\n(saved as `test.conf`)\r\n\r\n```\r\nIn [13]: conf = ConfigFactory.parse_file('test.conf')\r\n---------------------------------------------------------------------------\r\nParseException                            Traceback (most recent call last)\r\n<ipython-input-13-d3bb51afbb00> in <module>()\r\n----> 1 conf = ConfigFactory.parse_file('test.conf')\r\n\r\n/usr/local/lib/python2.7/site-packages/pyhocon/__init__.pyc in parse_file(filename)\r\n     27         with open(filename, 'r') as fd:\r\n     28             content = fd.read()\r\n---> 29             return ConfigFactory.parse_string(content, os.path.dirname(filename))\r\n     30\r\n     31     @staticmethod\r\n\r\n/usr/local/lib/python2.7/site-packages/pyhocon/__init__.pyc in parse_string(content, basedir)\r\n     55         :type return: Config\r\n     56         \"\"\"\r\n---> 57         return ConfigParser().parse(content, basedir)\r\n     58\r\n     59\r\n\r\n/usr/local/lib/python2.7/site-packages/pyhocon/__init__.pyc in parse(content, basedir)\r\n    190             + (list_expr | dict_expr | inside_dict_expr) \\\r\n    191             + ZeroOrMore(comment | eol_comma)\r\n--> 192         config = config_expr.parseString(content, parseAll=True)[0]\r\n    193         ConfigParser._resolve_substitutions(config, substitutions)\r\n    194         return config\r\n\r\n/usr/local/lib/python2.7/site-packages/pyparsing.pyc in parseString(self, instring, parseAll)\r\n   1123             else:\r\n   1124                 # catch and re-raise exception from here, clears out pyparsing internal stack trace\r\n-> 1125                 raise exc\r\n   1126         else:\r\n   1127             return tokens\r\n\r\nParseException: Expected end of text (at char 85), (line:2, col:43)\r\n```\r\n\r\nInheritance is a such a nice feature in HOCON, hopefully this can be fixed."},"comment":{"url":"https://api.github.com/repos/chimpler/pyhocon/issues/comments/91734355","html_url":"https://github.com/chimpler/pyhocon/issues/10#issuecomment-91734355","issue_url":"https://api.github.com/repos/chimpler/pyhocon/issues/10","id":91734355,"user":{"login":"darthbear","id":2865040,"avatar_url":"https://avatars.githubusercontent.com/u/2865040?v=3","gravatar_id":"","url":"https://api.github.com/users/darthbear","html_url":"https://github.com/darthbear","followers_url":"https://api.github.com/users/darthbear/followers","following_url":"https://api.github.com/users/darthbear/following{/other_user}","gists_url":"https://api.github.com/users/darthbear/gists{/gist_id}","starred_url":"https://api.github.com/users/darthbear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darthbear/subscriptions","organizations_url":"https://api.github.com/users/darthbear/orgs","repos_url":"https://api.github.com/users/darthbear/repos","events_url":"https://api.github.com/users/darthbear/events{/privacy}","received_events_url":"https://api.github.com/users/darthbear/received_events","type":"User","site_admin":false},"created_at":"2015-04-11T01:02:13Z","updated_at":"2015-04-11T01:02:13Z","body":"Thank you Ernest for the bug report. I'll work on it over the weekend!"}}