Skip to content

Commit

Permalink
Always recover when trying to parse inline IL (#7167) (#7176)
Browse files Browse the repository at this point in the history
  • Loading branch information
TIHan authored and KevinRansom committed Jul 10, 2019
1 parent 0a90022 commit 91d783f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fsharp/ast.fs
Original file line number Diff line number Diff line change
Expand Up @@ -1982,7 +1982,7 @@ let ParseAssemblyCodeInstructions s m =
try FSharp.Compiler.AbstractIL.Internal.AsciiParser.ilInstrs
FSharp.Compiler.AbstractIL.Internal.AsciiLexer.token
(UnicodeLexing.StringAsLexbuf s)
with RecoverableParseError ->
with _ ->
errorR(Error(FSComp.SR.astParseEmbeddedILError(), m)); [| |]
#endif

Expand Down

0 comments on commit 91d783f

Please sign in to comment.