-
Notifications
You must be signed in to change notification settings - Fork 45
Remove UnificationError #1881
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
Remove UnificationError #1881
Conversation
| (mkElemVar Mock.x) | ||
| initial = pure $ | ||
| Mock.sigma (mkElemVar Mock.x) (Mock.plain10 (mkElemVar Mock.y)) | ||
| actual <- applyRewriteRuleParallel_ initial axiomSigmaId |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For this test, applyRewriteRuleParallel_ will now throw the following error:
Expected function-like term, but found:
/* Created: Test.Kore.Step.RewriteStep.sigma */
/* Sfa */
sigma{}(
/* Fl Fn D Sfa */ Configx:testSort{},
/* Created: Test.Kore.Step.RewriteStep.plain10 */
/* Sfa */
plain10{}(/* Fl Fn D Sfa */ Configy:testSort{})
)
CallStack (from HasCallStack):
error, called at src/Kore/Step/Step.hs:195:21 in kore-0.23.0.0-Kq7aVMskyU0HcW2wehu1H0:Kore.Step.Step
| test_unsupportedConstructs :: TestTree | ||
| test_unsupportedConstructs = | ||
| testCase "Unsupported constructs" $ | ||
| andSimplifyFailure |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a difference now between andSimplifySuccess and andSimplifyFailure?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're right, there isn't any. I've made the necessary changes. Thanks!
Fixes #1767
Reviewer checklist
stack test --coveragestack haddock