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

One test for granule-frontend fails in 0.9.5.0 #240

Open
andreasabel opened this issue Apr 3, 2024 · 1 comment
Open

One test for granule-frontend fails in 0.9.5.0 #240

andreasabel opened this issue Apr 3, 2024 · 1 comment
Assignees

Comments

@andreasabel
Copy link
Contributor

granule-frontend       > Failures:             
granule-frontend       >                       
granule-frontend       >   tests/hspec/Language/Granule/Synthesis/SynthSpec.hs:161:13: 
granule-frontend       >   1) Language.Granule.Synthesis.Synth, Construcor test for Either, Branch on (Left : a -> Either a b)
granule-frontend       >        expected: Size = 1
granule-frontend       >                   - ((T ∧ T) -> ∃ y : Nat . T ∧ T ∧ (y ⊔ y = ub0) ∧ ((1 : Nat) = y * r0) ∧ (y * r0 = r0 * r0))
granule-frontend       >         but got: Size = 1
granule-frontend       >                   - ((T ∧ T) -> ∃ y : Nat . T ∧ T ∧ (y ⊔ y = ub0) ∧ ((1 : Nat) = y * 1) ∧ (y * 1 = r0))
granule-frontend       >                       
granule-frontend       >   To rerun use: --match "/Language.Granule.Synthesis.Synth/Construcor test for Either/Branch on (Left : a -> Either a b)/"
granule-frontend       >                       
granule-frontend       > Randomized with seed 488633885
@dorchard
Copy link
Member

dorchard commented May 8, 2024

Thanks @andreasabel . @jackohughes - this is in the tests for synthesis of case expressions. I started at the expected output and the paper and to me they appear to agree. Any ideas?

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

No branches or pull requests

4 participants