Skip to content

Existing signature files become unusable #14707

@nojaf

Description

@nojaf

When a project has a signature file like:

val foo01 : int -> string -> _
val bar01 : int -> int -> _

They will be override by --allsigs to

val foo01: int -> string -> '?17893
val bar01: int -> int -> '?17894

Repro steps

Provide the steps required to reproduce the problem:

  1. Unzip
  2. dotnet build
  3. dotnet build --no-incremental

InvalidSignatureGeneration.zip

Expected behavior

The project should still compile after the rebuild.

Actual behavior

Project no longer builds.

Related information

Detected via #14703

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-Compiler-CodeGenIlxGen, ilwrite and things at the backendBugImpact-Low(Internal MS Team use only) Describes an issue with limited impact on existing code.help wanted

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions