{"action":"opened","issue":{"url":"https://api.github.com/repos/dart-lang/sdk/issues/25047","labels_url":"https://api.github.com/repos/dart-lang/sdk/issues/25047/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/sdk/issues/25047/comments","events_url":"https://api.github.com/repos/dart-lang/sdk/issues/25047/events","html_url":"https://github.com/dart-lang/sdk/issues/25047","id":119020526,"number":25047,"title":"Completion suggesting incorrect code with inheritance and static fields","user":{"login":"lukechurch","id":2978182,"avatar_url":"https://avatars.githubusercontent.com/u/2978182?v=3","gravatar_id":"","url":"https://api.github.com/users/lukechurch","html_url":"https://github.com/lukechurch","followers_url":"https://api.github.com/users/lukechurch/followers","following_url":"https://api.github.com/users/lukechurch/following{/other_user}","gists_url":"https://api.github.com/users/lukechurch/gists{/gist_id}","starred_url":"https://api.github.com/users/lukechurch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukechurch/subscriptions","organizations_url":"https://api.github.com/users/lukechurch/orgs","repos_url":"https://api.github.com/users/lukechurch/repos","events_url":"https://api.github.com/users/lukechurch/events{/privacy}","received_events_url":"https://api.github.com/users/lukechurch/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dart-lang/sdk/labels/analyzer-completion","name":"analyzer-completion","color":"d4c5f9"}],"state":"open","locked":false,"assignee":{"login":"danrubel","id":2891888,"avatar_url":"https://avatars.githubusercontent.com/u/2891888?v=3","gravatar_id":"","url":"https://api.github.com/users/danrubel","html_url":"https://github.com/danrubel","followers_url":"https://api.github.com/users/danrubel/followers","following_url":"https://api.github.com/users/danrubel/following{/other_user}","gists_url":"https://api.github.com/users/danrubel/gists{/gist_id}","starred_url":"https://api.github.com/users/danrubel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danrubel/subscriptions","organizations_url":"https://api.github.com/users/danrubel/orgs","repos_url":"https://api.github.com/users/danrubel/repos","events_url":"https://api.github.com/users/danrubel/events{/privacy}","received_events_url":"https://api.github.com/users/danrubel/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-11-26T10:58:24Z","updated_at":"2015-11-26T10:58:24Z","closed_at":null,"body":"Consider \r\n```\r\nvoid main() {\r\n  print(Short.^); \r\n}\r\n\r\nclass VeryLongAndTediousNameForAClass {\r\n  static const int USEFUL = 0;\r\n}\r\n\r\nclass Short extends VeryLongAndTediousNameForAClass {\r\n  \r\n}\r\n```\r\n\r\nCompletions occurring at the ^ include \"USEFUL\", however, accepting this completion results in:\r\n\r\n``` \r\nCONSOLE\r\nUncaught NoSuchMethodError: method not found: 'USEFUL'\r\nReceiver: \"\"\r\nArguments: []\r\n ```\r\n\r\nIn DartPad here: https://dartpad.dartlang.org/16ac8a0ff0b171e525bd\r\n"}}