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

Fix #950: Index out of bounds #956

Merged
merged 2 commits into from Jul 5, 2022
Merged

Fix #950: Index out of bounds #956

merged 2 commits into from Jul 5, 2022

Conversation

Booksbaum
Copy link
Contributor

Reason: Comparison with line 0 instead of line 1

Note: While Exception with stack trace was shown, there was no impact on actual FSAC usage (-> FSAC didn't crash). Exception was just displayed in log

Note: Request still returns failure because no prev char. But now it's a deliberate failure (vs. prev: index out of bounds)


Includes a rewrite of tests to use example code directly in tests instead of external files

Reason: Comparison with line 0 instead of line 1

Note: While Exception with stack trace was shown, there was no impact on actual FSAC usage (-> FSAC didn't crash). Exception was just shown in log

Note: Request still fails because no prev char, but it fails as expected. Previously failure was unwanted failure
@baronfel baronfel merged commit 4a62656 into ionide:main Jul 5, 2022
@Booksbaum Booksbaum deleted the line0 branch July 5, 2022 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants