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

Commita4962cf

Browse files
committed
Minor textual changes to align fsharp/fsharp with fsharppowerpack.codeplex.com
1 parentb075598 commita4962cf

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

‎src/fsharp/ErrorLogger.fs‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
// You must not remove this notice, or any other, from this software.
1111
//----------------------------------------------------------------------------
1212

13-
1413
moduleinternalMicrosoft.FSharp.Compiler.ErrorLogger
1514

1615

‎src/fsharp/FSharp.Core/Linq.fs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ module LeafExpressionConverter =
212212
#if FX_NO_REFLECTION_METADATA_TOKENS
213213
#else
214214
minfo.MetadataToken= minfo2.MetadataToken&&
215-
#endif
215+
#endif
216216
if isg1then minfo2.IsGenericMethod&& gmd= minfo2.GetGenericMethodDefinition()
217217
else minfo= minfo2
218218
)->

‎src/fsharp/FSharp.Core/local.fs‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -541,17 +541,19 @@ module internal Array =
541541
|_,_when valuesExist&&(keys.Length<> values.Length)-> raise(ArgumentException())
542542
|_,_->
543543
qsort(keys,values,0,keys.Length-1,LanguagePrimitives.FastGenericComparer<'Key>)
544+
(*
544545
static member Sort<'Key,'Value when 'Key : comparison>(keys : 'Key[], values : 'Value[], start : int, last : int) =
545546
match keys with
546547
| null -> raise (ArgumentNullException())
547548
| _ ->
548549
qsort(keys,values,start,last,LanguagePrimitives.FastGenericComparer<'Key>)
549-
static memberSort<'Key,'Valuewhen'Key:comparison>(keys:'Key[],values:'Value[],start:int,last:int,comparer:IComparer<'Key>)=
550+
*)
551+
static memberSort<'Key,'Valuewhen'Key:comparison>(keys:'Key[],values:'Value[],start:int,length:int,comparer:IComparer<'Key>)=
550552
match keyswith
551553
|null-> raise(ArgumentNullException())
552554
|_->
553555
letcomparer=match comparerwithnull-> LanguagePrimitives.FastGenericComparer<'Key>|_-> comparer
554-
qsort(keys,values,start,last,comparer)
556+
qsort(keys,values,start,start+length-1,comparer)
555557
#else
556558
#endif
557559

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp