{"action":"closed","issue":{"url":"https://api.github.com/repos/Mouq/toml-pm6/issues/2","labels_url":"https://api.github.com/repos/Mouq/toml-pm6/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/Mouq/toml-pm6/issues/2/comments","events_url":"https://api.github.com/repos/Mouq/toml-pm6/issues/2/events","html_url":"https://github.com/Mouq/toml-pm6/issues/2","id":80274005,"number":2,"title":"Rakudo 2015.05 breaks TOML","user":{"login":"atweiden","id":1638172,"avatar_url":"https://avatars.githubusercontent.com/u/1638172?v=3","gravatar_id":"","url":"https://api.github.com/users/atweiden","html_url":"https://github.com/atweiden","followers_url":"https://api.github.com/users/atweiden/followers","following_url":"https://api.github.com/users/atweiden/following{/other_user}","gists_url":"https://api.github.com/users/atweiden/gists{/gist_id}","starred_url":"https://api.github.com/users/atweiden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atweiden/subscriptions","organizations_url":"https://api.github.com/users/atweiden/orgs","repos_url":"https://api.github.com/users/atweiden/repos","events_url":"https://api.github.com/users/atweiden/events{/privacy}","received_events_url":"https://api.github.com/users/atweiden/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-24T21:18:17Z","updated_at":"2015-05-25T02:42:40Z","closed_at":"2015-05-25T02:42:40Z","body":"This module is broken after updating to Rakudo 2015.05 from 2015.04. It appears to be inserting a filler `0 => $(Any,)` key pair to `from-toml`'s returned hash based on the TOML source file (posted below).\r\n\r\nCould the `[Currencies.BTC.Prices.USD]` section getting overwritten by the section `[Currencies.LTC.Prices.USD]` be yielding the problematic `0 => $(Any,)`?\r\n\r\n```\r\n$ PERL6LIB=lib bin/nightscape.pl examples/sample.transactions\r\n[DEBUG] {:USD({\"0\" => $(Any,), \"2014-01-01\" => 13.45, \"2014-01-02\" => 12.34, \"2014-01-03\" => 11.11, \"2014-01-04\" => 10.09, \"2014-01-05\" => 9.08, \"2014-01-06\" => 8.07, \"2014-01-07\" => 7.06})}<>\r\nInvalid Date string '0'; use yyyy-mm-dd instead\r\n  in block  at lib/Nightscape/Config.pm:159\r\n  in method gen_pricesheet at lib/Nightscape/Config.pm:152\r\n  in block  at bin/nightscape.pl:182\r\n  in sub MAIN at bin/nightscape.pl:157\r\n  in block <unit> at bin/nightscape.pl:227\r\n  in any <unit-outer> at bin/nightscape.pl:1\r\n```\r\n\r\n```toml\r\nbase-currency = \"USD\"\r\n\r\n[Personal]\r\n\r\n[Personal.Bankwest.Cheque]\r\nopen = \"2014-01-01 .. *\"\r\n\r\n[Personal.Suntrust.Savings]\r\nopen = \"2024-11-11 .. *\"\r\n\r\n[Peanut]\r\n\r\n[Business]\r\nbase-currency = \"USD\"\r\nopen = \"2014-01-02 .. *\"\r\n\r\n[Currencies.BTC.Prices.USD]\r\n\"2014-01-01\" = 770.4357\r\n\"2014-01-02\" = 808.0485\r\n\"2014-01-03\" = 830.024\r\n\"2014-01-04\" = 858.9833\r\n\"2014-01-05\" = 940.0972\r\n\"2014-01-06\" = 951.3865\r\n\"2014-01-07\" = 810.5833\r\n\"2014-11-11\" = 999.999\r\n\r\n[Currencies.LTC.Prices.USD]\r\n\"2014-01-01\" = 13.45\r\n\"2014-01-02\" = 12.34\r\n\"2014-01-03\" = 11.11\r\n\"2014-01-04\" = 10.09\r\n\"2014-01-05\" = 9.08\r\n\"2014-01-06\" = 8.07\r\n\"2014-01-07\" = 7.06\r\n```"}}