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

Commit68cb422

Browse files
forkiKevinRansom
authored andcommitted
sort + rev => sortDescending (dotnet#2221)
1 parent7a30e8d commit68cb422

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/fsharp/sr.fs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ namespace Microsoft.FSharp.Compiler
136136
pos<- pos'
137137
pos<- pos+1
138138
// the sort should be unnecessary, but better safe than sorry
139-
nHoles,Set.toList order|> List.sort|> List.rev
139+
nHoles,Set.toList order|> List.sortDescending
140140

141141
letcountFormatPlaceholders(s:string)=
142142
// strip any escaped % characters - yes, this will fail if given %%%...

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp