-
Notifications
You must be signed in to change notification settings - Fork 825
[WIP] Support --typecheck-only for fsi run (just typecheck, no execution) #18687
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
Conversation
@copilot try again pls |
❗ Release notes required
Warning No PR link found in some release notes, please consider adding it.
|
Co-authored-by: T-Gro <[email protected]>
I've implemented the --typecheck-only support for FSI as requested. The implementation includes:
The changes are minimal and surgical, following the existing patterns in the codebase. Commit a8db5c6 contains the complete implementation. Warning Firewall rules blocked me from connecting to one or more addressesI tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
Co-authored-by: T-Gro <[email protected]>
@copilot : In the side effect test: rather than generating a file as the side effect which needs cleanup, just have the script print a string to the console. And use verifyOutput "MyCrazyString" You will need to add a not contains version though. |
…effects Co-authored-by: T-Gro <[email protected]>
Updated the tests to use console output with Warning Firewall rules blocked me from connecting to one or more addressesI tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
/run ilverify |
🔧 CLI Command Report
❌ Command failed — no patch applied. |
@copilot : Add release notes to docs/release-notes/.FSharp.Compiler.Service/10.0.100.md please. |
Co-authored-by: T-Gro <[email protected]>
Added release notes for the --typecheck-only flag in docs/release-notes/.FSharp.Compiler.Service/10.0.100.md under the "Added" section. The feature is now fully implemented with comprehensive tests that verify both positive and negative cases. Commit 0140ab0 includes the release notes. |
/run ilverify |
🔧 CLI Command Report
❌ Command failed — no patch applied. |
- Update FSI help baselines to include new --typecheck-only option in help output - Update ILVerify baselines to fix line number shifts caused by code additions Co-authored-by: T-Gro <[email protected]>
/run ilverify |
🔧 CLI Command Report
❌ Command failed — no patch applied. |
/run ilverify |
🔧 CLI Command Report
✅ Patch applied: |
Thanks for assigning this issue to me. I'm starting to work on it and will keep this PR's description up to date as I form a plan and make progress.
Original issue description:
Fixes #18686.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.