Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DSC IntelliSense can cause language service crash #323

Closed
daviwil opened this issue Dec 19, 2016 · 0 comments
Closed

DSC IntelliSense can cause language service crash #323

daviwil opened this issue Dec 19, 2016 · 0 comments
Labels
Issue-Bug A bug to squash.
Milestone

Comments

@daviwil
Copy link
Contributor

daviwil commented Dec 19, 2016

Originally reported here: PowerShell/vscode-powershell#391

The issue is that IntelliSense within DSC resources can sometimes return an invalid replacement range which causes bounds checking in the BufferRange class to throw an exception. Since this isn't a fatal issue for the language server the exception should be caught and logged so that the session may continue.

@daviwil daviwil added the Issue-Bug A bug to squash. label Dec 19, 2016
@daviwil daviwil added this to the 0.8.1 milestone Dec 19, 2016
daviwil added a commit that referenced this issue Dec 19, 2016
Fix #323: DSC IntelliSense can cause language service to crash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug A bug to squash.
Projects
None yet
Development

No branches or pull requests

1 participant