Skip to content

"TypeError: Cannot read property 'map' of undefined at asCompletionResult" occurs when a file is editted before the extension fully activates #2807

@sean-mcmanus

Description

@sean-mcmanus

Open a workspace and immediately edit a cpp file. Use Toggle Developer Tools to see the error output:

[Extension Host] TypeError: Cannot read property 'map' of undefined
	at asCompletionResult

I'm not aware of any "real" bug this causes, but it seems like we're not doing something correct.

Metadata

Metadata

Assignees

Labels

Language ServicebugfixedCheck the Milestone for the release in which the fix is or will be available.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions