Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

saw-remote-api: Unintentional uses of undefined #1390

Closed
RyanGlScott opened this issue Jul 21, 2021 · 0 comments · Fixed by #1392
Closed

saw-remote-api: Unintentional uses of undefined #1390

RyanGlScott opened this issue Jul 21, 2021 · 0 comments · Fixed by #1392
Labels
bug saw-remote-api Related to the RPC SAW server

Comments

@RyanGlScott
Copy link
Contributor

I recently spotted the following code in saw-remote-api:

EnableSMTArrayMemoryModel enabled -> undefined
updateRW rw { rwSMTArrayMemoryModel = enabled }
EnableWhat4HashConsing enabled -> undefined
updateRW rw { rwWhat4HashConsing = enabled }

Notice the uses of the undefined function. I haven't tested, but I'm fairly certain that these lines of code would error at runtime if invoked. Most likely, these uses of undefined are placeholders that were never removed.

@RyanGlScott RyanGlScott added bug saw-remote-api Related to the RPC SAW server labels Jul 21, 2021
RyanGlScott added a commit that referenced this issue Jul 22, 2021
These are most likely placeholder values that were accidentally left in the
code. Let's remove them.

Fixes #1390.
RyanGlScott added a commit that referenced this issue Jul 22, 2021
These are most likely placeholder values that were accidentally left in the
code. Let's remove them.

Fixes #1390.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug saw-remote-api Related to the RPC SAW server
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant