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

Clean up warnings #217

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

charlieturndorf
Copy link

@charlieturndorf charlieturndorf commented Jan 23, 2022

Made some minor changes to get rid of warnings.

I did have to commit the 20KB package icon to resolve nuget warning NU5048.

Edit: the following warning appears intermittently for me in VS Code / Ionide.
It doesn't seem like low-hanging fruit so I'll leave it alone for now.

Stream.fs(676,13): warning FS1103: Note: Lambda-lifting optimizations have not
been applied because of the use of this local constrained generic function as a
first class value. Adding type constraints may resolve this condition.

Replaced usage of deprecated ref cell operators := and !

I didn't change any ref cells to mutables, except in BuilderTests.fs where a mutable was obviously ok.
Renamed some parameters in Stream.fs that didn't match their equivalents in Stream.fsi.

We could instead disable warning 3218, but then if someone has trouble debugging they might not understand why.
Fixed nuget warning NU5048. The PackageIconUrl property is deprecated.
- Added Hopac's existing package icon to the repository
- Added PackageIcon property to the fsproj, and included & packed the icon png
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant