{"action":"opened","issue":{"url":"https://api.github.com/repos/natebosch/dart_language_server/issues/32","repository_url":"https://api.github.com/repos/natebosch/dart_language_server","labels_url":"https://api.github.com/repos/natebosch/dart_language_server/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/natebosch/dart_language_server/issues/32/comments","events_url":"https://api.github.com/repos/natebosch/dart_language_server/issues/32/events","html_url":"https://github.com/natebosch/dart_language_server/issues/32","id":325741323,"number":32,"title":"Wrong locations for definitions","user":{"login":"DanTup","id":1078012,"avatar_url":"https://avatars2.githubusercontent.com/u/1078012?v=4","gravatar_id":"","url":"https://api.github.com/users/DanTup","html_url":"https://github.com/DanTup","followers_url":"https://api.github.com/users/DanTup/followers","following_url":"https://api.github.com/users/DanTup/following{/other_user}","gists_url":"https://api.github.com/users/DanTup/gists{/gist_id}","starred_url":"https://api.github.com/users/DanTup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanTup/subscriptions","organizations_url":"https://api.github.com/users/DanTup/orgs","repos_url":"https://api.github.com/users/DanTup/repos","events_url":"https://api.github.com/users/DanTup/events{/privacy}","received_events_url":"https://api.github.com/users/DanTup/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-23T14:48:20Z","updated_at":"2018-05-23T14:48:20Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"In the analyzer log I see this:\r\n\r\n```js\r\n{\r\n\t\"id\": \"29\",\r\n\t\"result\": {\r\n\t\t\"files\": [\r\n\t\t\t\"M:\\\\Apps\\\\Dart\\\\Dart-2.0.0-dev.55.0\\\\lib\\\\core\\\\uri.dart\"\r\n\t\t],\r\n\t\t\"targets\": [\r\n\t\t\t{\r\n\t\t\t\t\"kind\": \"METHOD\",\r\n\t\t\t\t\"fileIndex\": 0,\r\n\t\t\t\t\"offset\": 26326,\r\n\t\t\t\t\"length\": 5,\r\n\t\t\t\t\"startLine\": 734,\r\n\t\t\t\t\"startColumn\": 14\r\n\t\t\t}\r\n\t\t],\r\n\t\t\"regions\": [\r\n\t\t\t{\r\n\t\t\t\t\"offset\": 29,\r\n\t\t\t\t\"length\": 5,\r\n\t\t\t\t\"targets\": [\r\n\t\t\t\t\t0\r\n\t\t\t\t]\r\n\t\t\t}\r\n\t\t]\r\n\t}\r\n}\r\n```\r\n\r\nBut in the VS log I see this:\r\n\r\n```js\r\n{\r\n  \"jsonrpc\": \"2.0\",\r\n  \"result\": {\r\n    \"range\": {\r\n      \"end\": {\r\n        \"character\": 24,\r\n        \"line\": 752\r\n      },\r\n      \"start\": {\r\n        \"character\": 19,\r\n        \"line\": 752\r\n      }\r\n    },\r\n    \"uri\": \"file:///M:/Apps/Dart/Dart-2.0.0-dev.55.0/lib/core/uri.dart\"\r\n  },\r\n  \"id\": 22\r\n}\r\n```\r\n\r\nSeems like the line numbers have somehow got messed up."}}
{"actor":{"display_login":"DanTup"}}