{"action":"opened","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/53250","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/53250/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/53250/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/53250/events","html_url":"https://github.com/Microsoft/vscode/issues/53250","id":336649946,"node_id":"MDU6SXNzdWUzMzY2NDk5NDY=","number":53250,"title":"TypeError: Cannot read property 'flags' of undefined","user":{"login":"justincy","id":1037458,"node_id":"MDQ6VXNlcjEwMzc0NTg=","avatar_url":"https://avatars2.githubusercontent.com/u/1037458?v=4","gravatar_id":"","url":"https://api.github.com/users/justincy","html_url":"https://github.com/justincy","followers_url":"https://api.github.com/users/justincy/followers","following_url":"https://api.github.com/users/justincy/following{/other_user}","gists_url":"https://api.github.com/users/justincy/gists{/gist_id}","starred_url":"https://api.github.com/users/justincy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justincy/subscriptions","organizations_url":"https://api.github.com/users/justincy/orgs","repos_url":"https://api.github.com/users/justincy/repos","events_url":"https://api.github.com/users/justincy/events{/privacy}","received_events_url":"https://api.github.com/users/justincy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-28T14:38:21Z","updated_at":"2018-06-28T14:38:21Z","closed_at":null,"author_association":"NONE","body":"Issue Type: <b>Bug</b>\r\n\r\n1. Add a JavaScript class inside a `<script>` tag in an HTML file\r\n2. Start typing a new method name\r\n3. The following error is printed to the console:\r\n\r\n```\r\n[Error - 8:35:02 AM] Error while computing completions for file:///Users/dir/dir/dir/file.html: Cannot read property 'flags' of undefined\r\nTypeError: Cannot read property 'flags' of undefined\r\n    at getApparentType (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/typescript.js:32821:25)\r\n    at Object.getPropertiesOfType (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/typescript.js:32566:20)\r\n    at /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/typescript.js:88828:44\r\n    at Object.flatMap (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/typescript.js:2093:25)\r\n    at tryGetClassLikeCompletionSymbols (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/typescript.js:88826:42)\r\n    at tryGetGlobalSymbols (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/typescript.js:88366:24)\r\n    at getCompletionData (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/typescript.js:88268:22)\r\n    at Object.getCompletionsAtPosition (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/typescript.js:87512:34)\r\n    at Object.getCompletionsAtPosition (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/typescript.js:107393:35)\r\n    at doComplete (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/html-language-features/server/out/modes/javascriptMode.js:78:49)\r\n```\r\n\r\nVS Code version: Code 1.24.1 (24f62626b222e9a8313213fb64b10d741a326288, 2018-06-13T17:41:50.128Z)\r\nOS version: Darwin x64 17.6.0\r\n\r\n<details>\r\n<summary>System Info</summary>\r\n\r\n|Item|Value|\r\n|---|---|\r\n|CPUs|Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz (8 x 2500)|\r\n|GPU Status|2d_canvas: enabled<br>flash_3d: enabled<br>flash_stage3d: enabled<br>flash_stage3d_baseline: enabled<br>gpu_compositing: enabled<br>multiple_raster_threads: enabled_on<br>native_gpu_memory_buffers: enabled<br>rasterization: enabled<br>video_decode: enabled<br>video_encode: enabled<br>vpx_decode: enabled<br>webgl: enabled<br>webgl2: enabled|\r\n|Load (avg)|3, 2, 2|\r\n|Memory (System)|16.00GB (5.92GB free)|\r\n|Process Argv|/Applications/Visual Studio Code.app/Contents/MacOS/Electron --disable-extensions|\r\n|Screen Reader|no|\r\n|VM|0%|\r\n\r\n</details>Extensions disabled\r\n<!-- generated by issue reporter -->"}}
{"actor":{"display_login":"justincy"}}