-
Notifications
You must be signed in to change notification settings - Fork 832
Closed
Labels
Area-Compiler-SigFileGengeneration of signature files - both compiler and IDEgeneration of signature files - both compiler and IDEBug
Description
When generating a signature file from a function with statically resolved type parameters, the generated code requires an additional space.
Repro steps
module MyApp.GoodStuff
let inline toString< ^revision when ^revision: (static member GetCommitHash: ^revision -> string)>
(p: System.Threading.Tasks.Task< ^revision >)
: string =
""leads to
module MyApp.GoodStuff
val inline toString:
p: System.Threading.Tasks.Task<^revision> -> string
when ^revision: (static member GetCommitHash: ^revision -> string)Expected behaviour
The generated signature should be considered equivalent to the backing source file.
Actual behaviour
The generated code isn't valid:
Known workarounds
Edit signature file by hand.
Metadata
Metadata
Assignees
Labels
Area-Compiler-SigFileGengeneration of signature files - both compiler and IDEgeneration of signature files - both compiler and IDEBug
