Skip to content

Commit e057f09

Browse files
authored
Always recover when trying to parse inline IL (#7167)
1 parent 5abc7d6 commit e057f09

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/fsharp/ast.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1982,7 +1982,7 @@ let ParseAssemblyCodeInstructions s m =
19821982
try FSharp.Compiler.AbstractIL.Internal.AsciiParser.ilInstrs
19831983
FSharp.Compiler.AbstractIL.Internal.AsciiLexer.token
19841984
(UnicodeLexing.StringAsLexbuf s)
1985-
with RecoverableParseError ->
1985+
with _ ->
19861986
errorR(Error(FSComp.SR.astParseEmbeddedILError(), m)); [| |]
19871987
#endif
19881988

0 commit comments

Comments
 (0)