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

Commit5af8810

Browse files
TIHanKevinRansom
authored andcommitted
Fixed hard crash in VS when specific F# code is used. (dotnet#5617)
* Fixed hard crash in VS by simply not re-raising exceptions when parsing in our service layer* Using instance instead of static errorlogger
1 parent04f3a36 commit5af8810

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/fsharp/service/service.fs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1598,7 +1598,7 @@ module internal Parser =
15981598
letisExe= options.IsExe
15991599
try Some(ParseInput(lexfun, errHandler.ErrorLogger, lexbuf, None, fileName,(isLastCompiland, isExe)))
16001600
with e->
1601-
errHandler.ErrorLogger.ErrorR(e)
1601+
errHandler.ErrorLogger.StopProcessingRecovery e Range.range0// don't re-raise any exceptions, we must return None.
16021602
None)
16031603
errHandler.CollectedDiagnostics, parseResult, errHandler.AnyErrors
16041604

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp