Skip to content

Checker: don't capture environment for checked modules #18519

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

Merged
merged 5 commits into from
Apr 30, 2025

Conversation

auduchinok
Copy link
Member

Fixes #18518.

This PR prevents adding the environment for the checked module.

Copy link
Contributor

github-actions bot commented Apr 28, 2025

❗ Release notes required


✅ Found changes and release notes in following paths:

Warning

No PR link found in some release notes, please consider adding it.

Change path Release notes path Description
src/Compiler docs/release-notes/.FSharp.Compiler.Service/9.0.300.md No current pull request URL (#18519) found, please consider adding it

@auduchinok
Copy link
Member Author

OK, this approach seems to work. Since we only seem to want these captured environments in the IDE features (and they seem to break things there), I wonder what if we never add them. I've pushed another commit just to check it.

@auduchinok
Copy link
Member Author

This is ready.

@auduchinok auduchinok changed the title Checker: don't add environment for the checked non-recursive module Checker: don't capture environment for checked modules Apr 29, 2025
@T-Gro T-Gro enabled auto-merge (squash) April 29, 2025 19:25
@T-Gro T-Gro merged commit 54fb3da into dotnet:main Apr 30, 2025
33 checks passed
@github-project-automation github-project-automation bot moved this from New to In Progress in F# Compiler and Tooling Apr 30, 2025
@github-project-automation github-project-automation bot moved this from In Progress to Done in F# Compiler and Tooling Apr 30, 2025
@auduchinok auduchinok deleted the completion-env2 branch April 30, 2025 08:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Code completion considers types from own namespace non-imported
4 participants