Skip to content

Fix span of IOperation nodes#151

Merged
jjonescz merged 2 commits into
mainfrom
ioperation-span
Jun 9, 2026
Merged

Fix span of IOperation nodes#151
jjonescz merged 2 commits into
mainfrom
ioperation-span

Conversation

@jjonescz

@jjonescz jjonescz commented Jun 8, 2026

Copy link
Copy Markdown
Owner

No description provided.

@jjonescz jjonescz requested a review from Copilot June 8, 2026 17:14
@jjonescz jjonescz added the enhancement New feature or request label Jun 8, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR improves source-span mapping in the compiler tree formatter by adding explicit span handling for Roslyn IOperation nodes, and updates the local eng/build.sh workflow to use dotnetup instead of the older dotnet-install.sh flow.

Changes:

  • Map IOperation objects to operation.Syntax.Span in TreeFormatter.getSpan(...) to improve source mapping for operation nodes.
  • Switch eng/build.sh from downloading/running dotnet-install.sh into a local ./dotnet folder to installing via dotnetup and using dotnet from PATH.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/Compiler/TreeFormatter.cs Adds span resolution for IOperation nodes to improve mapping behavior.
eng/build.sh Replaces local dotnet-install.sh bootstrap with dotnetup-based SDK setup and uses dotnet directly.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread eng/build.sh Outdated
Copilot AI review requested due to automatic review settings June 8, 2026 17:24

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

Comment thread eng/build.sh Outdated
Copilot AI review requested due to automatic review settings June 8, 2026 17:52

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

Comment thread eng/build.sh Outdated
@jjonescz jjonescz merged commit 9b591e5 into main Jun 9, 2026
5 checks passed
@jjonescz jjonescz deleted the ioperation-span branch June 9, 2026 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants