{"action":"opened","issue":{"url":"https://api.github.com/repos/camfort/camfort/issues/50","repository_url":"https://api.github.com/repos/camfort/camfort","labels_url":"https://api.github.com/repos/camfort/camfort/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/camfort/camfort/issues/50/comments","events_url":"https://api.github.com/repos/camfort/camfort/issues/50/events","html_url":"https://github.com/camfort/camfort/issues/50","id":187289687,"number":50,"title":"units-suggest does not work inside subroutines.","user":{"login":"dorchard","id":32088,"avatar_url":"https://avatars.githubusercontent.com/u/32088?v=3","gravatar_id":"","url":"https://api.github.com/users/dorchard","html_url":"https://github.com/dorchard","followers_url":"https://api.github.com/users/dorchard/followers","following_url":"https://api.github.com/users/dorchard/following{/other_user}","gists_url":"https://api.github.com/users/dorchard/gists{/gist_id}","starred_url":"https://api.github.com/users/dorchard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dorchard/subscriptions","organizations_url":"https://api.github.com/users/dorchard/orgs","repos_url":"https://api.github.com/users/dorchard/repos","events_url":"https://api.github.com/users/dorchard/events{/privacy}","received_events_url":"https://api.github.com/users/dorchard/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-04T09:40:19Z","updated_at":"2016-11-04T09:40:19Z","closed_at":null,"body":"I've just noticed this one, pretty much as it says on the tin. Compare\r\n```\r\nprogram square\r\n  implicit none\r\n\r\n  real :: x\r\n  real :: a\r\n  \r\n  x = a**2\r\n\r\n  end program\r\n```\r\nunits-suggest responds with `x`. On the other hand:\r\n```\r\nprogram square\r\n  implicit none\r\n  call main()\r\n  \r\ncontains\r\n\r\n  subroutine main()\r\n  real :: x\r\n  real :: a\r\n  x = a**2\r\n  end subroutine\r\n\r\nend program\r\n```\r\nunits-suggest says there are 0 variables to annotate."}}
{"actor":{"display_login":"dorchard"}}