Uh oh!
There was an error while loading. Please reload this page.
Replace internal option conversion funcs with FSharp.Core ones - #17457
Replace internal option conversion funcs with FSharp.Core ones#17457brianrourkeboll wants to merge 1 commit into
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
|
brianrourkeboll
left a comment
There was a problem hiding this comment.
@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.vzarytovskii
commented
Jul 29, 2024
It does. It's by design - @auduchinok asked us some time ago that we use package by default. It might be wrapped in |
brianrourkeboll
commented
Jul 29, 2024
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. |
psfinaki
commented
Jul 29, 2024
@brianrourkeboll yeah I somehow missed the above as well - sorry for the confusion! |
brianrourkeboll
commented
Jul 29, 2024
All right, I opened #17460 as a reminder to do this later. |
vzarytovskii
commented
Jul 29, 2024
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