Skip to content

Conversation

AndreasArvidsson
Copy link
Member

@AndreasArvidsson AndreasArvidsson commented Feb 1, 2025

If you said "pour state air and line bat" where air was a multiline statement you got an undefined exception at runtime.

I have corrected the problem with our logic and also removed a not null assertion in favor of actually checking for null.

Release notes

"pour state air and line bat" (if air was a multiline statement) now works instead of raising an exception.

@AndreasArvidsson AndreasArvidsson requested a review from a team as a code owner February 1, 2025 09:15
);

const newSelections = state.destinations.map((destination, index) =>
state.cursorRanges[index]!.toSelection(destination.target.isReversed),
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

state.cursorRanges[index] was undefined

@phillco phillco enabled auto-merge February 1, 2025 18:23
@phillco phillco added this pull request to the merge queue Feb 1, 2025
Merged via the queue into main with commit 6606f98 Feb 1, 2025
15 checks passed
@phillco phillco deleted the editNewBug branch February 1, 2025 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants