{"action":"opened","issue":{"url":"https://api.github.com/repos/bmx-ng/bcc/issues/159","labels_url":"https://api.github.com/repos/bmx-ng/bcc/issues/159/labels{/name}","comments_url":"https://api.github.com/repos/bmx-ng/bcc/issues/159/comments","events_url":"https://api.github.com/repos/bmx-ng/bcc/issues/159/events","html_url":"https://github.com/bmx-ng/bcc/issues/159","id":128690135,"number":159,"title":"Duplicate identifier in module","user":{"login":"Leushenko","id":1959106,"avatar_url":"https://avatars.githubusercontent.com/u/1959106?v=3","gravatar_id":"","url":"https://api.github.com/users/Leushenko","html_url":"https://github.com/Leushenko","followers_url":"https://api.github.com/users/Leushenko/followers","following_url":"https://api.github.com/users/Leushenko/following{/other_user}","gists_url":"https://api.github.com/users/Leushenko/gists{/gist_id}","starred_url":"https://api.github.com/users/Leushenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Leushenko/subscriptions","organizations_url":"https://api.github.com/users/Leushenko/orgs","repos_url":"https://api.github.com/users/Leushenko/repos","events_url":"https://api.github.com/users/Leushenko/events{/privacy}","received_events_url":"https://api.github.com/users/Leushenko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-26T01:14:56Z","updated_at":"2016-01-26T01:14:56Z","closed_at":null,"body":"I haven't been able to narrow this down to a self-contained reproducible example yet, but when compiling my whole project, I get this error:\r\n\r\n    Compile Error: Duplicate identifier 'enumeration' found in module '/Users/alex/Projects/anathema/Anathema-0-3/runtime/.bmx/util.bmx.debug.macos.x86.i' and module 'm_runtime_util'.\r\n\r\nI have a folder in my project called `runtime`. It contains `Util.bmx` which is imported by many files both within that folder and at the toplevel (I generally import every file providing features a given file needs, rather than the bare minimum - makes no sense to e.g. not import a data structure you need just because it happens to be an implementation detail of an unrelated service). For some reason I haven't narrowed down, this is causing the compiler confusion between the usages inside and outside the subfolder (is there any reason an arbitrary non-`.mod` folder should be interpreted as a module or used for scope resolution in the first place?)."}}