Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdaacead

Browse files
authored
Merge pull requestfsharp#832 from nosami/master
Fix build on latest mono
2 parentse19ddca +268fe2c commitdaacead

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/scripts/scriptlib.fsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ module Scripting =
3636
#if INTERACTIVE
3737
letargv= Microsoft.FSharp.Compiler.Interactive.Settings.fsi.CommandLineArgs|> Seq.skip1|> Seq.toArray
3838

39-
letgetCmdLineArgOptional switchName=
39+
letgetCmdLineArgOptional(switchName:string)=
4040
argv|> Array.filter(fun t-> t.StartsWith(switchName))|> Array.map(fun t-> t.Remove(0, switchName.Length).Trim())|> Array.tryHead
4141

4242
letgetCmdLineArg switchName defaultValue=

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp