-
Notifications
You must be signed in to change notification settings - Fork 842
[WIP] RFC-1331 Expression-scoped opens #18814
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
base: main
Are you sure you want to change the base?
Conversation
❗ Release notes requiredCaution No release notes found for the changed paths (see table below). Please make sure to add an entry with an informative description of the change as well as link to this pull request, issue and language suggestion if applicable. Release notes for this repository are based on Keep A Changelog format. The following format is recommended for this repository:
If you believe that release notes are not necessary for this PR, please add NO_RELEASE_NOTES label to the pull request. You can open this PR in browser to add release notes: open in github.dev
|
tests/service/data/SyntaxTree/OpenDeclaration/E_openInTypeDecl.fs
Outdated
Show resolved
Hide resolved
|
This PR does not implement "open in types" feature. It needs some refactoring to implement the feature, which needs someone who knows a lot about the typechecking mechanics. I did make a prototype, but I am not satisfied on its restriction, working way and performance. It requires putting open declarations on the beginning of a type definition, and has bug in |
|
@ijklam : Thanks for the summary of the current state. I will convert the PR to a draft to prevent accidental merge for now. |
|
@ijklam : I think the 'open in expression' on its own would be a good addition and I believe scoping the feature between expressions and types could work. |
Actually the syntax node of "open in type"( |
Description
Implements fsharp/fslang-suggestions#96
RFC fsharp/fslang-design#810
This PR only implements open in expressions. Open in type is not implemented.
Checklist