{"action":"closed","issue":{"url":"https://api.github.com/repos/basho/lager/issues/141","labels_url":"https://api.github.com/repos/basho/lager/issues/141/labels{/name}","comments_url":"https://api.github.com/repos/basho/lager/issues/141/comments","events_url":"https://api.github.com/repos/basho/lager/issues/141/events","html_url":"https://github.com/basho/lager/issues/141","id":13751508,"number":141,"title":"Compile error when using boss_compiler.","user":{"login":"tolbrino","id":1107,"avatar_url":"https://avatars.githubusercontent.com/u/1107?v=3","gravatar_id":"","url":"https://api.github.com/users/tolbrino","html_url":"https://github.com/tolbrino","followers_url":"https://api.github.com/users/tolbrino/followers","following_url":"https://api.github.com/users/tolbrino/following{/other_user}","gists_url":"https://api.github.com/users/tolbrino/gists{/gist_id}","starred_url":"https://api.github.com/users/tolbrino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tolbrino/subscriptions","organizations_url":"https://api.github.com/users/tolbrino/orgs","repos_url":"https://api.github.com/users/tolbrino/repos","events_url":"https://api.github.com/users/tolbrino/events{/privacy}","received_events_url":"https://api.github.com/users/tolbrino/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/basho/lager/labels/Kanban-Backlog","name":"Kanban-Backlog","color":"FFFFFF"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2013-04-29T09:11:07Z","updated_at":"2015-06-24T21:28:02Z","closed_at":"2015-06-24T21:28:02Z","body":"Hi,\r\n\r\nI can't get the compilation for a simple lager:info call to work. I'm not sure whether this is due to the use of boss_compiler (from ChicagoBoss) or not. The error:\r\n\r\n```\r\n== build:erlang ==================\r\nfailed to load: {{badmatch,\r\n                  {error,\r\n                   [{[],\r\n                     [{none,compile,\r\n                       {parse_transform,lager_transform,\r\n                        {badarg,\r\n                         [{erlang,integer_to_list,[{45,10}],[]},\r\n                          {lager_transform,make_varname,2,\r\n                           [{file,\"src/lager_transform.erl\"},{line,204}]},\r\n                          {lager_transform,transform_statement,1,\r\n                           [{file,\"src/lager_transform.erl\"},{line,140}]},\r\n                          {lager_transform,walk_body,2,\r\n                           [{file,\"src/lager_transform.erl\"},{line,71}]},\r\n                          {lager_transform,walk_clauses,2,\r\n                           [{file,\"src/lager_transform.erl\"},{line,66}]},\r\n                          {lager_transform,walk_ast,2,\r\n                           [{file,\"src/lager_transform.erl\"},{line,51}]},\r\n                          {compile,'-foldl_transform/2-anonymous-2-',2,\r\n                           [{file,\"compile.erl\"},{line,843}]},\r\n                          {compile,foldl_transform,2,\r\n                           [{file,\"compile.erl\"},{line,845}]}]}}}]}]}},\r\n                 [{boss_load,load_all_modules,3,\r\n                   [{file,\"src/boss/boss_load.erl\"},{line,26}]},\r\n                  {tetrapak_boss,run,2,\r\n                   [{file,\r\n                     \"/home/tino/Documents/2working/tetrapak_boss/src/tetrapak_boss.erl\"},\r\n                    {line,87}]},\r\n                  {tetrapak_task,try_run,3,\r\n                   [{file,\"src/tetrapak_task.erl\"},{line,147}]},\r\n                  {tetrapak_task,worker,4,\r\n                   [{file,\"src/tetrapak_task.erl\"},{line,85}]}]}\r\n```\r\nThe code which crashes expects Line to be a interger, while it is a tuple here. Any idea where that could come from?"}}