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

Commitdb91d1a

Browse files
authored
Merge pull request #5071 from Microsoft/merges/master-to-dev15.8
Merge master to dev15.8
2 parents9ecbccc +b54527d commitdb91d1a

File tree

11 files changed

+596
-8
lines changed

11 files changed

+596
-8
lines changed

‎build/targets/PackageVersions.props‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,10 @@
4545
<MicrosoftVisualStudioShellInterop100PackageVersion>10.0.30319</MicrosoftVisualStudioShellInterop100PackageVersion>
4646
<MicrosoftVisualStudioShellInterop110PackageVersion>11.0.61030</MicrosoftVisualStudioShellInterop110PackageVersion>
4747
<MicrosoftVisualStudioShellInterop120PackageVersion>12.0.30110</MicrosoftVisualStudioShellInterop120PackageVersion>
48-
<MicrosoftVisualStudioTextManagerInteropPackageVersion>7.10.6070</MicrosoftVisualStudioTextManagerInteropPackageVersion>
48+
<MicrosoftVisualStudioTextManagerInteropPackageVersion>7.10.6071</MicrosoftVisualStudioTextManagerInteropPackageVersion>
4949
<MicrosoftVisualStudioTextManagerInterop80PackageVersion>8.0.50727</MicrosoftVisualStudioTextManagerInterop80PackageVersion>
5050
<MicrosoftVisualStudioTextManagerInterop100PackageVersion>10.0.30319</MicrosoftVisualStudioTextManagerInterop100PackageVersion>
51+
<MicrosoftVisualStudioTextManagerInterop120PackageVersion>12.0.30112</MicrosoftVisualStudioTextManagerInterop120PackageVersion>
5152
<MicrosoftVisualStudioTextUIPackageVersion>15.6.27740</MicrosoftVisualStudioTextUIPackageVersion>
5253
<MicrosoftVisualStudioTextUIWpfPackageVersion>15.6.27740</MicrosoftVisualStudioTextUIWpfPackageVersion>
5354
<MicrosoftVisualStudioWCFReferenceInteropPackageVersion>9.0.30729</MicrosoftVisualStudioWCFReferenceInteropPackageVersion>

‎src/fsharp/service/ServiceAssemblyContent.fs‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -999,8 +999,11 @@ module ParsedInput =
999999

10001000
mkPos line ctx.Pos.Column
10011001

1002-
lettryFindNearestPointToInsertOpenDeclaration(currentLine:int)(ast:ParsedInput)(entity:Idents)(insertionPoint:OpenStatementInsertionPoint)=
1002+
letfindNearestPointToInsertOpenDeclaration(currentLine:int)(ast:ParsedInput)(entity:Idents)(insertionPoint:OpenStatementInsertionPoint)=
10031003
match tryFindNearestPointAndModules currentLine ast insertionPointwith
10041004
| Some(scope,_, point), modules->
1005-
Some(findBestPositionToInsertOpenDeclaration modules scope point entity)
1006-
|_-> None
1005+
findBestPositionToInsertOpenDeclaration modules scope point entity
1006+
|_->
1007+
// we failed to find insertion point because ast is empty for some reason, return top left point in this case
1008+
{ ScopeKind= ScopeKind.TopModule
1009+
Pos= mkPos10}

‎src/fsharp/service/ServiceAssemblyContent.fsi‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ module public ParsedInput =
145145
(((* requiresQualifiedAccessParent:*) Idents option*(* autoOpenParent:*) Idents option*(* entityNamespace*) Idents option*(* entity:*) Idents)->(Entity* InsertContext)[])
146146

147147
/// Returns `InsertContext` based on current position and symbol idents.
148-
valtryFindNearestPointToInsertOpenDeclaration:currentLine:int->ast:Ast.ParsedInput->entity:Idents->insertionPoint:OpenStatementInsertionPoint->InsertContext option
148+
valfindNearestPointToInsertOpenDeclaration:currentLine:int->ast:Ast.ParsedInput->entity:Idents->insertionPoint:OpenStatementInsertionPoint->InsertContext
149149

150150
/// Returns lond identifier at position.
151151
valgetLongIdentAt:ast:Ast.ParsedInput->pos:Range.pos->Ast.LongIdent option

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp