{"action":"created","issue":{"url":"https://api.github.com/repos/peq/WurstScript/issues/488","repository_url":"https://api.github.com/repos/peq/WurstScript","labels_url":"https://api.github.com/repos/peq/WurstScript/issues/488/labels{/name}","comments_url":"https://api.github.com/repos/peq/WurstScript/issues/488/comments","events_url":"https://api.github.com/repos/peq/WurstScript/issues/488/events","html_url":"https://github.com/peq/WurstScript/issues/488","id":170438374,"number":488,"title":"LinkedList iterator .remove() doesn't decrease size","user":{"login":"BlueSaint","id":20930833,"avatar_url":"https://avatars.githubusercontent.com/u/20930833?v=3","gravatar_id":"","url":"https://api.github.com/users/BlueSaint","html_url":"https://github.com/BlueSaint","followers_url":"https://api.github.com/users/BlueSaint/followers","following_url":"https://api.github.com/users/BlueSaint/following{/other_user}","gists_url":"https://api.github.com/users/BlueSaint/gists{/gist_id}","starred_url":"https://api.github.com/users/BlueSaint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BlueSaint/subscriptions","organizations_url":"https://api.github.com/users/BlueSaint/orgs","repos_url":"https://api.github.com/users/BlueSaint/repos","events_url":"https://api.github.com/users/BlueSaint/events{/privacy}","received_events_url":"https://api.github.com/users/BlueSaint/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-10T14:57:30Z","updated_at":"2016-08-10T15:04:17Z","closed_at":null,"body":"I have very recently started using Wurstscript, so this might be intended behavior as well. I wrote a little example of what I mean by this issue:\r\n```\r\nimport LinkedList\r\n\r\n@test function testFunc()\r\n\tLinkedList<int> list = new LinkedList<int>\r\n\t..add(1)\r\n\t..add(2)\r\n\t..add(3)\r\n\t..add(4)\r\n\tlet iterator = list.iterator()\r\n\twhile iterator.hasNext()\r\n\t\titerator.next()\r\n\t\titerator.remove()\r\n\titerator.close()\r\n\tprint(list.getSize().toString())\r\n\tdestroy list\r\n```\r\nThe print should give you 0, but it gives me 4 instead."},"comment":{"url":"https://api.github.com/repos/peq/WurstScript/issues/comments/238895922","html_url":"https://github.com/peq/WurstScript/issues/488#issuecomment-238895922","issue_url":"https://api.github.com/repos/peq/WurstScript/issues/488","id":238895922,"user":{"login":"Cokemonkey11","id":1418966,"avatar_url":"https://avatars.githubusercontent.com/u/1418966?v=3","gravatar_id":"","url":"https://api.github.com/users/Cokemonkey11","html_url":"https://github.com/Cokemonkey11","followers_url":"https://api.github.com/users/Cokemonkey11/followers","following_url":"https://api.github.com/users/Cokemonkey11/following{/other_user}","gists_url":"https://api.github.com/users/Cokemonkey11/gists{/gist_id}","starred_url":"https://api.github.com/users/Cokemonkey11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cokemonkey11/subscriptions","organizations_url":"https://api.github.com/users/Cokemonkey11/orgs","repos_url":"https://api.github.com/users/Cokemonkey11/repos","events_url":"https://api.github.com/users/Cokemonkey11/events{/privacy}","received_events_url":"https://api.github.com/users/Cokemonkey11/received_events","type":"User","site_admin":false},"created_at":"2016-08-10T15:04:17Z","updated_at":"2016-08-10T15:04:17Z","body":"@BlueSaint okay, great, sounds like you are compiling wurst. Currently, the Wurstpack folder contains a copy of the standard library, but the standard library was just recently (around 6 days ago) split into a separate repository:\r\n\r\nhttps://github.com/peq/wurstStdlib\r\n\r\nSo you'll want to do the following:\r\n\r\n* clone the new standard library folder into a folder in your workspace\r\n* change your map's `wurst.dependencies` file to point to this new copy of the stl."}}
{"actor":{"display_login":"Cokemonkey11"}}