{"action":"closed","issue":{"url":"https://api.github.com/repos/dart-lang/sdk/issues/23501","labels_url":"https://api.github.com/repos/dart-lang/sdk/issues/23501/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/sdk/issues/23501/comments","events_url":"https://api.github.com/repos/dart-lang/sdk/issues/23501/events","html_url":"https://github.com/dart-lang/sdk/issues/23501","id":84602447,"number":23501,"title":"Code completion confused by completing field name before constructor declaration","user":{"login":"stereotype441","id":306375,"avatar_url":"https://avatars.githubusercontent.com/u/306375?v=3","gravatar_id":"","url":"https://api.github.com/users/stereotype441","html_url":"https://github.com/stereotype441","followers_url":"https://api.github.com/users/stereotype441/followers","following_url":"https://api.github.com/users/stereotype441/following{/other_user}","gists_url":"https://api.github.com/users/stereotype441/gists{/gist_id}","starred_url":"https://api.github.com/users/stereotype441/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stereotype441/subscriptions","organizations_url":"https://api.github.com/users/stereotype441/orgs","repos_url":"https://api.github.com/users/stereotype441/repos","events_url":"https://api.github.com/users/stereotype441/events{/privacy}","received_events_url":"https://api.github.com/users/stereotype441/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dart-lang/sdk/labels/Analyzer-Completion","name":"Analyzer-Completion","color":"ededed"},{"url":"https://api.github.com/repos/dart-lang/sdk/labels/Area-Analyzer","name":"Area-Analyzer","color":"ededed"},{"url":"https://api.github.com/repos/dart-lang/sdk/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"},{"url":"https://api.github.com/repos/dart-lang/sdk/labels/Triaged","name":"Triaged","color":"ededed"},{"url":"https://api.github.com/repos/dart-lang/sdk/labels/Type-Defect","name":"Type-Defect","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-21T12:32:57Z","updated_at":"2015-08-12T16:21:21Z","closed_at":"2015-08-12T16:21:21Z","body":"Start with the following file:\n\nclass C {\n&nbsp;&nbsp;final Stri\n\n&nbsp;&nbsp;C();\n}\n\nPlace the cursor at the end of the line &quot;final Stri&quot; and request completions.\n\nExpected result: the only completions shown should begin with &quot;Stri&quot;, e.g. &quot;String&quot; or &quot;StringBuffer&quot;.  If &quot;String&quot; is chosen, the line should complete to &quot;final String&quot;.\n\nObserved result: a vast array of irrelevant completions are shown, such as &quot;const&quot;, &quot;dynamic&quot;, &quot;AbstractClassInstantiationError&quot;, etc.  If &quot;String&quot; is chosen, the line completes to &quot;final StriString&quot;.\n\nCommenting out the line &quot;C();&quot; works around the problem."}}