- 
                Notifications
    You must be signed in to change notification settings 
- Fork 834
Replace internal option conversion funcs with FSharp.Core ones #17457
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
Replace internal option conversion funcs with FSharp.Core ones #17457
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 
 | 
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.
@psfinaki It looks like that build step does indeed use a shipped version of FSharp.Core:
/home/vsts/work/1/s/src/Compiler/TypedTree/TypedTree.fs(2120,26): error FS0039: The value, constructor, namespace or type 'ofOption' is not defined. [/home/vsts/work/1/s/src/Compiler/FSharp.Compiler.Service.fsproj::TargetFramework=netstandard2.0]
/home/vsts/work/1/s/src/Compiler/TypedTree/TypedTree.fs(4232,94): error FS0039: The value, constructor, namespace or type 'ofOption' is not defined. [/home/vsts/work/1/s/src/Compiler/FSharp.Compiler.Service.fsproj::TargetFramework=netstandard2.0]
/home/vsts/work/1/s/src/Compiler/TypedTree/TypedTree.fs(4295,91): error FS0039: The value, constructor, namespace or type 'ofOption' is not defined. [/home/vsts/work/1/s/src/Compiler/FSharp.Compiler.Service.fsproj::TargetFramework=netstandard2.0]
/home/vsts/work/1/s/src/Compiler/TypedTree/TypedTreeOps.fs(3480,117): error FS0039: The value, constructor, namespace or type 'ofOption' is not defined. [/home/vsts/work/1/s/src/Compiler/FSharp.Compiler.Service.fsproj::TargetFramework=netstandard2.0]
/home/vsts/work/1/s/src/Compiler/Service/IncrementalBuild.fs(404,77): error FS0039: The value, constructor, namespace or type 'toOption' is not defined. [/home/vsts/work/1/s/src/Compiler/FSharp.Compiler.Service.fsproj::TargetFramework=netstandard2.0]
/home/vsts/work/1/s/src/Compiler/Service/IncrementalBuild.fs(409,24): error FS0039: The value, constructor, namespace or type 'toOption' is not defined. [/home/vsts/work/1/s/src/Compiler/FSharp.Compiler.Service.fsproj::TargetFramework=netstandard2.0]
Build FAILED.| 
 It does. It's by design - @auduchinok asked us some time ago that we use package by default. It might be wrapped in  | 
| 
 Hmm, adding ifdefs (if that's what you mean) would just mean that there would be more to clean up when the new version of FSharp.Core shipped. So if there's a good reason for this build step to do what it's doing, then I guess it's probably best just to wait. | 
| @brianrourkeboll yeah I somehow missed the above as well - sorry for the confusion! | 
| All right, I opened #17460 as a reminder to do this later. | 
| 
 It builds FCS with shipped compiler, it is used by the most of contributors, and folks from JB. | 
Description
Followup to #17436.
'T option↔'T voption#17436.Checklist