mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 13:57:10 +03:00
fsharp41: Add patch to avoid type inference error. (#103223)
https://github.com/mono/mono/pull/13109/ Co-authored-by: Moises Nessim <moises.nessim@topmanage.com>
This commit is contained in:
parent
de47c1907c
commit
24c8927c4a
@ -41,6 +41,7 @@ stdenv.mkDerivation rec {
|
||||
./fsharp-IsPathRooted-type-inference.patch
|
||||
./fsharp-string-switchName.patch
|
||||
./fsharp-path-overloads.patch
|
||||
./fsharp-GetFileNameWithoutExtension-type-inference.patch
|
||||
];
|
||||
|
||||
configurePhase = ''
|
||||
|
@ -0,0 +1,13 @@
|
||||
diff --git a/src/scripts/fssrgen.fsx b/src/scripts/fssrgen.fsx
|
||||
index 0bee9b79e..e6ceda11e 100644
|
||||
--- a/src/scripts/fssrgen.fsx
|
||||
+++ b/src/scripts/fssrgen.fsx
|
||||
@@ -329,7 +329,7 @@ let StringBoilerPlate filename =
|
||||
// END BOILERPLATE
|
||||
"
|
||||
|
||||
-let RunMain(filename, outFilename, outXmlFilenameOpt, projectNameOpt) =
|
||||
+let RunMain(filename:string, outFilename, outXmlFilenameOpt, projectNameOpt) =
|
||||
try
|
||||
let justfilename = System.IO.Path.GetFileNameWithoutExtension(filename)
|
||||
if justfilename |> Seq.exists (fun c -> not(System.Char.IsLetterOrDigit(c))) then
|
Loading…
Reference in New Issue
Block a user