{"action":"opened","issue":{"url":"https://api.github.com/repos/Protelis/Protelis/issues/103","repository_url":"https://api.github.com/repos/Protelis/Protelis","labels_url":"https://api.github.com/repos/Protelis/Protelis/issues/103/labels{/name}","comments_url":"https://api.github.com/repos/Protelis/Protelis/issues/103/comments","events_url":"https://api.github.com/repos/Protelis/Protelis/issues/103/events","html_url":"https://github.com/Protelis/Protelis/issues/103","id":190422452,"number":103,"title":"IllegalStateException thrown by self.nbrRange() in alignedMap","user":{"login":"w4bo","id":18005592,"avatar_url":"https://avatars.githubusercontent.com/u/18005592?v=3","gravatar_id":"","url":"https://api.github.com/users/w4bo","html_url":"https://github.com/w4bo","followers_url":"https://api.github.com/users/w4bo/followers","following_url":"https://api.github.com/users/w4bo/following{/other_user}","gists_url":"https://api.github.com/users/w4bo/gists{/gist_id}","starred_url":"https://api.github.com/users/w4bo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/w4bo/subscriptions","organizations_url":"https://api.github.com/users/w4bo/orgs","repos_url":"https://api.github.com/users/w4bo/repos","events_url":"https://api.github.com/users/w4bo/events{/privacy}","received_events_url":"https://api.github.com/users/w4bo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-18T21:10:04Z","updated_at":"2016-11-18T21:10:04Z","closed_at":null,"body":"Both this\r\n```\r\nminHood(self.nbrRange())\r\n``` \r\nand this code\r\n```\r\nalignedMap(\r\n    nbr([[\"foo\", \"bar\"]]),\r\n    (key, field) -> { true },\r\n    (key, field) -> { minHood(nbr(1)) },\r\n    Infinity\r\n)\r\n```\r\nwork. However, this code\r\n```\r\nalignedMap(\r\n    nbr([[\"foo\", \"bar\"]]),\r\n    (key, field) -> { true },\r\n    (key, field) -> { minHood(self.nbrRange()) }, // self.nbrLag() as well\r\n    Infinity\r\n)\r\n```\r\nthrows\r\n```\r\njava.lang.IllegalStateException: This program has attempted to build a field twice with the same code path.This is probably a bug in Protelis\r\n```"}}
{"actor":{"display_login":"w4bo"}}