Skip to content
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

"#if" directive around nullness removed refactored in HashMultiMap #18210

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

progressive-galib
Copy link
Contributor

@progressive-galib progressive-galib commented Jan 7, 2025

Description

"#if" directive around nullness removed refactored in HashMultiMap src/Compiler/Utilities/HashMultiMap.fs and fsi
Related: #18061 (partially addresses)

reopened due to closing of #18202 by mistake by force pushing.

from src/Compiler/Utilities/HashMultiMap.fs and fsi
Related: dotnet#18061 (partially addresses)

<!-- Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change. -->

- [x] Release notes entry updated: in
    `docs/release-notes/.FSharp.Compiler.Service/9.0.200.md`,
@progressive-galib progressive-galib requested a review from a team as a code owner January 7, 2025 18:34
Copy link
Contributor

github-actions bot commented Jan 7, 2025

❗ Release notes required

@progressive-galib,

Caution

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:

* <Informative description>. ([PR #XXXXX](https://github.com/dotnet/fsharp/pull/XXXXX))

See examples in the files, listed in the table below or in th full documentation at https://fsharp.github.io/fsharp-compiler-docs/release-notes/About.html.

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

Change path Release notes path Description
src/Compiler docs/release-notes/.FSharp.Compiler.Service/9.0.200.md No release notes found or release notes format is not correct

@KevinRansom
Copy link
Member

@progressive-galib
looks like there are syntax errors:
https://dev.azure.com/dnceng-public/public/_build/results?buildId=909319&view=logs&j=70e6e619-3cf7-5833-fa8f-6499093f7398&t=20ac6483-4e71-5107-5aa7-585726d1ae96&l=1635

D:\a\_work\1\s\src\Compiler\Utilities\HashMultiMap.fs(12,11): error FS0010: Unexpected symbol ',' in expression [D:\a\_work\1\s\src\Compiler\FSharp.Compiler.Service.fsproj::TargetFramework=netstandard2.0]
D:\a\_work\1\s\src\Compiler\Utilities\HashMultiMap.fs(16,5): error FS0010: Incomplete structured construct at or before this point in implementation file [D:\a\_work\1\s\src\Compiler\FSharp.Compiler.Service.fsproj::TargetFramework=netstandard2.0]

@@ -254,7 +254,7 @@ module SimplePickle =
when 'T:not null
#endif
> =
{ tbl: HashMultiMap<'T, int> // This should be "Dictionary"
{ tbl: HashMultiMap<'T, int when 'T: not null> // This should be "Dictionary"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @progressive-galib - this won't compile :)
'T is already defined and constrained up above, this should hold for tbl - I don't think changes here are needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: New
Development

Successfully merging this pull request may close these issues.

3 participants