PSharp icon indicating copy to clipboard operation
PSharp copied to clipboard

PSharpSyntaxRewriter crashes when jump has no arguments

Open akashlal opened this issue 7 years ago • 0 comments

When an input psharp program has jump() without arguments then PSharpSyntaxRewriter crashes inside the Rewrite method of GotoStateRewriter. It expects to see one argument, which isn't there:

            var arg = invocation.ArgumentList.Arguments[0].ToString();

akashlal avatar Oct 02 '18 03:10 akashlal