Closed rokopt closed 1 year ago
I think I've made a test case out of the term that originally produced this error:
https://github.com/anoma/geb/commit/f1baf142302084a8abd30c874029fa330a51ad60
It doesn't run into the "not a product type" problem documented in the comment , though. I'm not specifically aware of anything having changed since that might have fixed it, but I might be missing something. Does the problem still occur with the Juvix-generated code?
...Apparently all I needed to do was post that, and suddenly my test has started reproducing the "not a product type" error, without my making further changes. Some Lisp test infrastructure caching bug or something? I have no idea.
This might be the bug:
https://github.com/anoma/geb/commit/6f28b5b4385c87093c7521cd2b2072c8e9e01193
I believe this has been fixed by https://github.com/anoma/geb/commit/c356c6cd7a4687b623651686ba39186a5266e06d (borrowed from the fix in #70).
See this comment to #47. I'm not immediately sure whether this is supposed to produce a type error or not, but I will investigate it and fix it if it's supposed to typecheck. I'm not sure whether there's any relationship with #57 not being implemented yet or not.