Skip to content
This repository has been archived by the owner on Aug 26, 2022. It is now read-only.

PSharpSyntaxRewriter crashes when jump has no arguments #374

Open
akashlal opened this issue Oct 2, 2018 · 0 comments
Open

PSharpSyntaxRewriter crashes when jump has no arguments #374

akashlal opened this issue Oct 2, 2018 · 0 comments
Labels
bug Something isn't working

Comments

@akashlal
Copy link
Contributor

akashlal commented Oct 2, 2018

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 akashlal added the bug Something isn't working label Oct 2, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant