-
Notifications
You must be signed in to change notification settings - Fork 789
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
Support ValueOption + Struct attribute as optional parameter #18098
base: main
Are you sure you want to change the base?
Support ValueOption + Struct attribute as optional parameter #18098
Conversation
❗ Release notes required
|
...ts/Conformance/BasicGrammarElements/MemberDefinitions/OptionalArguments/OptionalArguments.fs
Show resolved
Hide resolved
@T-Gro @KevinRansom @0101 this is ready |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 13 out of 30 changed files in this pull request and generated no suggestions.
Files not reviewed (17)
- src/Compiler/Checking/CheckDeclarations.fs: Language not supported
- src/Compiler/Checking/CheckPatterns.fs: Language not supported
- src/Compiler/Checking/MethodCalls.fs: Language not supported
- src/Compiler/FSComp.txt: Language not supported
- src/Compiler/Facilities/LanguageFeatures.fs: Language not supported
- src/Compiler/Facilities/LanguageFeatures.fsi: Language not supported
- src/Compiler/TypedTree/TypedTreeOps.fs: Language not supported
- src/Compiler/TypedTree/TypedTreeOps.fsi: Language not supported
- src/Compiler/xlf/FSComp.txt.cs.xlf: Language not supported
- src/Compiler/xlf/FSComp.txt.de.xlf: Language not supported
- src/Compiler/xlf/FSComp.txt.es.xlf: Language not supported
- src/Compiler/xlf/FSComp.txt.fr.xlf: Language not supported
- src/Compiler/xlf/FSComp.txt.it.xlf: Language not supported
- src/Compiler/xlf/FSComp.txt.ja.xlf: Language not supported
- src/Compiler/xlf/FSComp.txt.ko.xlf: Language not supported
- src/Compiler/xlf/FSComp.txt.pl.xlf: Language not supported
- src/Compiler/xlf/FSComp.txt.pt-BR.xlf: Language not supported
@T-Gro I think I have addressed everything. If tests are passing, this is ready. Lemme know if I forgot anything. |
Description
Implements fsharp/fslang-suggestions#1136 - (fsharp/fslang-suggestions#1136 (comment))
Checklist
I'm not 100% happy with working with attributes as synattributes (though can live with it), though we do it in the graph checking already, but alternative would be abstract option in the compiler and then make a decision during codegen. This will complicate overall checking quite a bit.