Skip to content

Docs: Compilation chokes on nowarn #679

Description

@bartelink

Description

https://github.com/fsprojects/FSharpPlus/blob/master/src/FSharpPlus.Docs/Samples/Collections.fsx#L80 has a #nowarn that triggers an error in dotnet/fsharp#19785 (comment) that @gusty says can be converted to ;;

Known Workarounds

N/A

Expected behavior

Docs compiles in context of FSharp.Core regression test

Actual behavior

D:\a_work\1\TestRepo\src\FSharpPlus.Docs\Samples\Collections.fsx(80,1): error FS3875: Warn directives must have warning number(s) as argument(s) [D:\a_work\1\TestRepo\src\FSharpPlus.Docs\FSharpPlus.Docs.fsproj]

Configuration

No response

Reproduction Steps

No response

Are you willing to help with a pull-request?

No

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions