Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 9, 2025

Use the same LinePosition when constructing line span that points to single line.

Related #7050

Implement Simon's suggestion to improve readability:
- Extract repeated LinePosition to a variable
- Use named parameter 'lineSpan' for clarity
- Eliminate duplicate LinePosition instantiation

Related to #7050

Co-authored-by: nohwnd <[email protected]>
Copilot AI changed the title [WIP] Refactor target-typed new usage for improved readability Refactor nested target-typed new in ObjectModelConverters Dec 9, 2025
Copilot AI requested a review from nohwnd December 9, 2025 11:20
@nohwnd nohwnd marked this pull request as ready for review December 9, 2025 16:05
@Youssef1313 Youssef1313 merged commit e162620 into main Jan 12, 2026
11 checks passed
@Youssef1313 Youssef1313 deleted the copilot/refactor-target-typed-new-usage branch January 12, 2026 12:06
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.

3 participants