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

Commita7acf9f

Browse files
AviAvniKevinRansom
authored andcommitted
Smal fixes fordotnet#5940 (dotnet#5943)
* small fixes* fix test
1 parent8dc74f7 commita7acf9f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

‎src/fsharp/NameResolution.fs‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1541,11 +1541,11 @@ type TcResultsSinkImpl(g, ?source: string) =
15411541
letpositions=
15421542
[|
15431543
yield0
1544-
for iin0..source.Length-1do
1545-
letc= source.[i]
1546-
if c='\r'&& i+1< source.Length&& source.[i+1]='\n'then()
1547-
elif c='\r'thenyield i+1
1548-
if c='\n'thenyield i+1
1544+
for iin1..source.Lengthdo
1545+
letc= source.[i-1]
1546+
if c='\r'&& i< source.Length&& source.[i]='\n'then()
1547+
elif c='\r'thenyield i
1548+
elif c='\n'thenyield i
15491549
yield source.Length
15501550
|]
15511551
{ Source= source

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp