{"action":"created","issue":{"url":"https://api.github.com/repos/dapphub/ds-test/issues/5","repository_url":"https://api.github.com/repos/dapphub/ds-test","labels_url":"https://api.github.com/repos/dapphub/ds-test/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/dapphub/ds-test/issues/5/comments","events_url":"https://api.github.com/repos/dapphub/ds-test/issues/5/events","html_url":"https://github.com/dapphub/ds-test/issues/5","id":264226550,"number":5,"title":"tests stall when calling function with dynamically-sized array as input","user":{"login":"travs","id":7369273,"avatar_url":"https://avatars3.githubusercontent.com/u/7369273?v=4","gravatar_id":"","url":"https://api.github.com/users/travs","html_url":"https://github.com/travs","followers_url":"https://api.github.com/users/travs/followers","following_url":"https://api.github.com/users/travs/following{/other_user}","gists_url":"https://api.github.com/users/travs/gists{/gist_id}","starred_url":"https://api.github.com/users/travs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/travs/subscriptions","organizations_url":"https://api.github.com/users/travs/orgs","repos_url":"https://api.github.com/users/travs/repos","events_url":"https://api.github.com/users/travs/events{/privacy}","received_events_url":"https://api.github.com/users/travs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-10-10T13:24:30Z","updated_at":"2017-11-20T14:05:06Z","closed_at":null,"author_association":"NONE","body":"Am I doing something wrong?\r\n\r\ne.g.\r\n\r\n`My.sol`:\r\n\r\n```\r\ncontract My {\r\n    function myFunc(address[] addrs) returns (uint) {\r\n        return 0;\r\n    }\r\n}\r\n```\r\n\r\n`My.t.sol`:\r\n\r\n```\r\nimport \"ds-test/test.sol\";\r\nimport \"./My.sol\";\r\n\r\ncontract MyTest is DSTest {\r\n    My contractInstance;\r\n\r\n    function setUp() {\r\n        contractInstance = new My();\r\n    }\r\n\r\n    function testFunc() {\r\n        address[] addrs;\r\n        addrs.push(this);\r\n        contractInstance.myFunc(addrs); // hangs here\r\n    }\r\n}\r\n\r\n```\r\n\r\n```\r\n$ solc --version\r\nsolc, the solidity compiler commandline interface\r\nVersion: 0.4.17+commit.bdeb9e52.Linux.g++\r\n\r\n$ dapp --version\r\ndapp 0.5.6\r\n```"},"comment":{"url":"https://api.github.com/repos/dapphub/ds-test/issues/comments/345704705","html_url":"https://github.com/dapphub/ds-test/issues/5#issuecomment-345704705","issue_url":"https://api.github.com/repos/dapphub/ds-test/issues/5","id":345704705,"user":{"login":"travs","id":7369273,"avatar_url":"https://avatars3.githubusercontent.com/u/7369273?v=4","gravatar_id":"","url":"https://api.github.com/users/travs","html_url":"https://github.com/travs","followers_url":"https://api.github.com/users/travs/followers","following_url":"https://api.github.com/users/travs/following{/other_user}","gists_url":"https://api.github.com/users/travs/gists{/gist_id}","starred_url":"https://api.github.com/users/travs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/travs/subscriptions","organizations_url":"https://api.github.com/users/travs/orgs","repos_url":"https://api.github.com/users/travs/repos","events_url":"https://api.github.com/users/travs/events{/privacy}","received_events_url":"https://api.github.com/users/travs/received_events","type":"User","site_admin":false},"created_at":"2017-11-20T14:05:06Z","updated_at":"2017-11-20T14:05:06Z","author_association":"NONE","body":"@rainbreak \r\nThis still stalls for me it seems :S\r\nLast output is\r\n\r\n```\r\nRunning 1 tests for src/My.t.sol:MyTest # then it hangs forever\r\n```\r\n\r\n```\r\n$ dapp --version\r\ndapp 0.7.4\r\n\r\n$ solc --version\r\nsolc, the solidity compiler commandline interface\r\nVersion: 0.4.17+commit.bdeb9e52.Linux.g++\r\n```"}}
{"actor":{"display_login":"travs"}}