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

Fix semantics of empty blocks and implement basic interpreter tests #8

Merged
merged 5 commits into from
Aug 25, 2020

Conversation

smarr
Copy link
Member

@smarr smarr commented Aug 25, 2020

This PR makes sure that empty blocks return nil, see: SOM-st/SOM#54.

In order to test this, I also needed to implement the basic interpreter tests, which apparently hasn't been done before.

To avoid issues with CPPUNIT, I'll switch Travis CI to Ubuntu 20.04, which has cppunit in a version that supports parameterized unit tests.

smarr added 5 commits August 25, 2020 12:16
Apparently, we hadn’t implemented those before.

Signed-off-by: Stefan Marr <[email protected]>
The tests cause GC to trigger, which isn’t currently working perfectly.

Signed-off-by: Stefan Marr <[email protected]>
@smarr smarr force-pushed the uninitialized-locals branch from 19db9a8 to bca214a Compare August 25, 2020 11:16
@smarr smarr merged commit 4b753e4 into SOM-st:master Aug 25, 2020
@smarr smarr deleted the uninitialized-locals branch August 25, 2020 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant