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

[BUGFIX] Determining rule for getExitCode relies on top cell being named generatedTop #407

Merged
merged 2 commits into from
Apr 16, 2019

Conversation

ehildenb
Copy link
Member

When compiling to the Kore/Haskell/LLVM backends, the logic here https://github.com/kframework/k/blob/cebb9ab45fc99f2c2b30df9401a50311f5a496ca/kernel/src/main/java/org/kframework/compile/GenerateSentencesFromConfigDecl.java#L486 assumes that some cell <generatedTop> exists, which may not be the case (as this test demonstrates).

@dwightguth
Copy link
Collaborator

@ehildenb you can't review this because you created it but please let me know if the fix looks good and if it does, I will approve.

@ehildenb
Copy link
Member Author

@dwightguth this seems to fix the immediate issue I was having, though I'm still having trouble building KEVM after changing the configuration slightly: runtimeverification/evm-semantics#335

The remaining issues have to do with the ocaml plugin though, not with this changeset, so this should be good to merge.

@ehildenb ehildenb force-pushed the exit-code-no-generated-top branch from 122ec38 to 87d699e Compare April 15, 2019 23:32
@ehildenb ehildenb merged commit d521ed9 into master Apr 16, 2019
@ehildenb ehildenb deleted the exit-code-no-generated-top branch April 16, 2019 00:19
rv-jenkins added a commit that referenced this pull request May 5, 2021
Baltoli pushed a commit that referenced this pull request Apr 9, 2024
Co-authored-by: devops <devops@runtimeverification.com>
Baltoli pushed a commit that referenced this pull request Apr 9, 2024
Co-authored-by: devops <devops@runtimeverification.com>
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.

2 participants